Commit graph

18 commits

Author SHA1 Message Date
Andres Rodriguez
acd87a69e7
Rubocop: Enable various EmptyLine cops (#15194)
Disabled:
 * EmptyLineAfterGuardClause
 * EmptyLineAfterMultilineCondition
 * EmptyLinesAroundAccessModifier

Enabled:
 * Layout/EmptyLineAfterMagicComment
 * Layout/EmptyLineBetweenDefs
 * Layout/EmptyLines
 * Layout/EmptyLinesAroundArguments
 * Layout/EmptyLinesAroundAttributeAccessor
 * Layout/EmptyLinesAroundBeginBody
 * Layout/EmptyLinesAroundBlockBody
 * Layout/EmptyLinesAroundExceptionHandlingKeywords
 * Layout/EmptyLinesAroundMethodBody
 * Layout/EmptyLinesAroundModuleBody
2023-07-18 16:49:16 -04:00
Karol Bucek
e1da2d651d
Build: update .lock.release with rake version:set (#13477) 2022-01-20 06:49:06 +01:00
João Duarte
e9c9865f40
Add apache and elastic license headers to source code files (#11673)
* add license header to ruby and java files
* add license header to erb and rake files
* add license headers to gradle files
2020-03-11 11:53:38 +00:00
Colin Surprenant
e716f2eafc
docs index file renamed to docs/index.asciidoc (#9852) 2018-07-23 15:18:50 -04:00
Shaunak Kashyap
f4603f95c1
Update version in OSS-only artifacts as well (#9425)
Updates README artifact links regex to update version in OSS-only artifact links as well
2018-04-30 12:01:22 -07:00
Rob Bavey
9e7868774f Split shared doc version update into separate rake task
The stack version constant in index-shared1.asciidoc should not be
updated during a version bump, as this impacts the current version
of the doc on elastic.co. Instead, create a separate rake task
to bump the version.

See #8637 for details of this happening

Fixes #8648
2017-11-14 14:10:21 +00:00
infcurious@gmail.com
01f72067d1 Update set_plugic_api task to use latest update_version_file
Fixes #8496
2017-11-01 13:23:19 +00:00
infcurious@gmail.com
d3bffc7482 Use old_version & new_version naming for readability
Fixes #8496
2017-11-01 13:23:19 +00:00
infcurious@gmail.com
01f4dd87dd Expand rake version:set to update README & index-shared1.asciidoc
Fixes #8496
2017-11-01 13:23:19 +00:00
Rob Bavey
3be69c754e Fixup rake:version task
Remove no longer nececessary sync task
Simplify other tasks to reflect this removal
Change update_version_file to keep comments in yaml file after task run

Fixes #8410
2017-09-29 20:48:04 +00:00
Pier-Hugues Pellerin
0332ee5087 update the set strategy
Make sure when you set a logstash version that we are not wiping
the content of the versions file but instead merge it so we preserve
jruby information.

Fixes #7434
2017-06-13 15:44:32 +00:00
Pier-Hugues Pellerin
4c3a3ad526 Normalize the Alpha version of Logstash
If you use 6.0.0-alpha1, rubygems will change it to 6.0.0.pre.alpha1,
this commit changes the behavior to normalize the version before saving
it to disk.

Fixes #7008
2017-05-04 17:16:55 +00:00
Pier-Hugues Pellerin
a7187fbe8f Update the rake version:sync to ignore logstash-core-event
With the gem refactoring we don't build the logstash-core-event anymore

Fixes #6911
2017-04-12 14:08:40 +00:00
Tal Levy
9974df427d remove old legacy logstash-core-event (#6783)
and migrate spec tests to core
2017-03-02 10:55:30 -08:00
Tal Levy
2e3b06b812 migrate core-queue-jruby into logstash-core (#6782) 2017-03-02 10:12:03 -08:00
Tal Levy
6fb8096a54 migrate logstash-core-event-java to logstash-core (#6760) 2017-03-01 15:31:17 -08:00
Pier-Hugues Pellerin
80fcadd931 Allow rake version:set to update the logstash-core-queue-jruby gem
Fixes #6380
2016-12-08 14:29:28 -05:00
Joao Duarte
a859bd4a3f add single command release task and other release support tooling
Purpose:

* manage releases through a minimum number of rake tasks
* simplify building of snapshot builds
* create staged artifacts, candidates for releases, that required no changes to become releases
* this means the snapshot release process will not involve publishing gems, therefore:
* the gem artifacts should only be published to rubygems as a final artifact, at the time of GA

Changes:

* release artifacts no longer depend on gems of core components
* all core components are used locally AS-IS to minimize code changes between snapshot, RC and GA
* `versions.yml` describes the versions of all logstash parts and package
  * `rake version:set[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake version:set_plugin_api[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake artifact:all` generates SNAPSHOT artifacts: tar.gz, zip, rpm, deb
  * `RELEASE=1 rake artifact:all` creates release candidate artifacts + 4 gems: logstash-core, logstash-core-event, logstash-core-event-java and logstash-core-plugin-api

implements #5416 and #5414

Fixes #5460
2016-06-20 04:23:48 -04:00