Commit graph

65 commits

Author SHA1 Message Date
João Duarte
1fc169b7f6 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:54:32 +00:00
Josh Soref
c6cd247ec3 Multiple spelling corrections (#9782)
* spelling: actually
* spelling: already
* spelling: concurrency
* spelling: constructor
* spelling: destinations
* spelling: different
* spelling: elasticsearch
* spelling: encoding
* spelling: error
* spelling: explicitly
* spelling: failings
* spelling: falsey
* spelling: guarantees
* spelling: having
* spelling: implementation
* spelling: logstash
* spelling: module
* spelling: multiple
* spelling: omitted
* spelling: overridden
* spelling: pipeline
* spelling: raspberry
* spelling: receive
* spelling: recommended
* spelling: registered
* spelling: registering
* spelling: shutdown
* spelling: signal
* spelling: specified
* spelling: successful
* spelling: successfully
* spelling: valuefied
* spelling: vector
2018-07-04 10:41:10 +01:00
Wainer dos Santos Moschetta
ebbbab1fbf Rakefile: update help with test tasks.
Updated the help message of Rakefile to list the
test:install-core and test:core tasks.

Fixes #6863
2017-03-31 14:01:29 -04:00
Colin Surprenant
1a32c14eac fix version path, relates to #4123 2015-11-17 01:13:11 -05:00
Pere Urbon-Bayes
028d76497c add the missing magic header # encoding: utf-8 so all internal strings are UTF-8 in Ruby < 2.0
Fixes #3723
2015-08-17 13:30:07 +00:00
Pier-Hugues Pellerin
87cc70eb07 Exposing the rake vendor:clean method to the help message
Fixes #1981
2014-11-11 06:32:28 +00:00
Jordan Sissel
920a9e9362 Refactor build tooling to use Ruby
The new way to build is using 'rake' and not 'make'.

For some some attempt at compatibility, any 'make' invocation will
invoke rake. `make foo` will invoke `rake foo`.

This is for #1640

Major changes:
* rake is used instead of make. This allows us to more easily improve,
  debug, and test the build tooling.
* The build process can be bootstrapped from any Ruby that has
  Rake available. Bootstrapping rake is automatic will download JRuby and
  re-execute itself under JRuby.
* rpm and deb packages no longer list any java as dependencies. This
  is the result of user discomfort and discussions which concluded
  that there is no good way to "depend" on Java via rpm or deb.

Internal changes:
* Vendoring paths are project-based. Each vendor directory is now
  specific as vendor/<project>/... For example, JRuby is dumped into
  vendor/jruby/...

Other changes:

* We don't use jruby-complete anymore. We now use bin/jruby as the entry point.
  This improves the startup time of Logstash on my laptop by approximately
  1.5 seconds (~25% speedup of startup time). Testing `bin/logstash
  version` speed; 5 runs each:

  * Before patch: 7.27 7.55 7.26 7.42 7.47
  * After patch: 5.54 5.97 5.67 5.58 5.54

Smaller changes:
- removed 'env' subcommand
- Remove 'deps' subcommand. Replaced by 'rake vendor:all'
- Add gem_home method for this platform's GEM_HOME
- .travis.yml removed because we haven't used Travis in a long time.
- bin/logstash exits nonzero with a useful message if JRuby can't be found.

Notes:

Invoke bundler via system() call instead of Bundler::CLI.
After some discussion in #bundler on freenode (very helpful!) on how
to do what we need to do with bundler, I was encouraged to not use the
bundler api from ruby, so system() it is.

Patch slightly modified to fit the new model of packaging (ruby instead
of shell invocation), but original author is obazoud in #1008.

Richard Pijnenburg helped with some of the code and was lovely in
helping test it.

Fixes #1640
2014-10-22 17:04:55 +00:00
Yuval Oren
12385052f2 Updated makefile to work on macs and machines with ruby or rvm installed, removed obsolete rakefile 2011-09-16 13:47:04 -07:00
Jordan Sissel
1cda0bc6ae - purge unused tar task. 2011-08-22 01:10:45 -07:00
Jordan Sissel
100ac87e98 - Update rake stuff use ruby 1.9-isms (LOGSTASH-158) 2011-08-21 23:32:54 -07:00
Jordan Sissel
3f44a28379 - generate with version replacement 2011-08-17 18:51:31 -07:00
Jordan Sissel
3d65e83a94 - bump elasticsearch version 2011-08-16 23:24:40 -07:00
Jordan Sissel
4474390491 - upgrade to elasticsearch 0.17.0 2011-07-18 16:26:33 -07:00
Jordan Sissel
4321dcc9cd - upgrade to jruby 1.6.3; all tests pass in source and monolith jar form 2011-07-08 00:23:52 -07:00
Jordan Sissel
c50b127395 janitorial duties 2011-07-01 14:50:15 -07:00
Jordan Sissel
14d209b325 - fix bug in docindex gen 2011-05-23 01:02:57 -07:00
Pete Fritchman
7e3c7b5a33 we want the new value returned, not in-place 2011-05-23 00:31:13 -07:00
Jordan Sissel
331cac1bef - more hacky work on a 'release' task 2011-05-22 23:55:33 -07:00
Jordan Sissel
625a23bb7d - make a 'release' task
- make docs tasks replace 'VERSION' with the current LOGSTASH_VERSION
2011-05-22 22:30:05 -07:00
Jordan Sissel
c6ef2e725d - fix missing runner (LOGSTASH-86, and other reports) 2011-05-17 14:00:57 -07:00
Jordan Sissel
ff4782dba8 - refactor build a bit to only muck with build/
- don't compile all the ruby stuff, we don't need to
2011-05-12 10:46:12 -07:00
Jordan Sissel
6ab2242fa1 - try to collapse build activity into the build/ dir 2011-05-12 09:44:17 -07:00
Jordan Sissel
8107ff5632 Merge branch 'master' of github.com:logstash/logstash 2011-05-11 18:09:46 -07:00
Jordan Sissel
455115cdb1 - handle directories in the docs tree 2011-05-11 18:09:14 -07:00
Jordan Sissel
14a9ee408b style 2011-05-11 15:14:41 -07:00
Jordan Sissel
c78d1e35a1 - Skip sigar 2011-05-11 14:07:08 -07:00
Jordan Sissel
2b40c53e8a - simplify versioning 2011-05-10 22:45:40 -07:00
Jordan Sissel
36caf3d6b0 version bump for amqp fix 2011-05-10 22:19:36 -07:00
Jordan Sissel
dcde1ddbb6 - verison bump again, forgot a fix 2011-05-09 23:59:35 -07:00
Jordan Sissel
e8a44f8862 - version bump for syslog input fix (Reported by David P. via mailing
list)
2011-05-09 23:57:17 -07:00
Jordan Sissel
ce55a85700 - version bump 2011-05-08 11:01:41 -07:00
Jordan Sissel
4d77571b91 - Fix password handling for stomp and amqp.
- Bump version
2011-05-07 13:12:32 -07:00
Jordan Sissel
07404dbc06 enable publish target 2011-05-06 22:52:31 -07:00
Jordan Sissel
35d764f23c - add 'clean' task 2011-05-06 13:46:33 -07:00
Jordan Sissel
9295aacd90 - version bump for 1.0 release (pending) 2011-05-06 00:01:15 -07:00
Jordan Sissel
4c32013cc0 - remove 'lite' gemspec; will make plugins later. 2011-05-06 00:00:38 -07:00
Jordan Sissel
d7c541835a Note about ruby 1.9.2 failures 2011-05-01 12:13:37 -07:00
Jordan Sissel
721c9040cc - fix some build issues
- add thread
2011-05-01 12:02:38 -07:00
Jordan Sissel
9fb1de2c7b - work on a thinner jar package 2011-05-01 11:18:54 -07:00
Jordan Sissel
67ff69b1b2 - fix paths? 2011-04-29 22:21:25 -07:00
Jordan Sissel
fbde4477e3 - update client library elasticsearch 2011-04-29 22:19:32 -07:00
Jordan Sissel
27993c48ec - Generate docs index based on Marie's original 2011-04-29 22:01:55 -07:00
Jordan Sissel
658db7170d - more doc generation (LOGSTASH-68) 2011-04-25 17:28:19 -07:00
Jordan Sissel
7005914b11 - doc -> docs 2011-04-25 17:00:35 -07:00
Jordan Sissel
dccf9963c9 - docgen 2011-04-25 00:50:11 -07:00
Jordan Sissel
0a7a1ceb6c - monolithic jar can now run tests, web, and agent. Booyah. 2011-04-09 01:58:33 -07:00
Jordan Sissel
6e861187b9 - use logstash.runner as the main of the jar file 2011-04-07 19:09:31 -07:00
Jordan Sissel
78fa0b5356 - Pack up bundled gems into the monolithic jar. 2011-03-27 01:57:58 -07:00
Jordan Sissel
a4f53dcb93 - Started working on gem packaging, but I'm not totally sure how it'll
work just now; commit my idea, work on it later.
2011-03-23 18:14:45 -07:00
Jordan Sissel
69527591e0 - Packaging as a jar seems to be working now. 2011-03-23 16:31:37 -07:00