12e4250166
Merge pull request #195 from cw-andrews/feature/env_file
...
Feature/env file
2017-10-17 13:55:48 +02:00
b87f674eb2
Test tweak to work for Windows CI.
2017-10-15 19:55:37 -04:00
f1e9969a88
Add tests for bonobo init new directory and init within empty directory
2017-10-15 23:54:26 +02:00
cb7a18f20f
Added more tests and moved all env and env file testing to classes (it might make more sense to just move them to separate files?).
2017-10-15 16:14:14 -04:00
dc34ab4a8b
Moved env vars tests to class.
2017-10-15 15:49:14 -04:00
84e197b209
Updated .env >>> .env_one to include in repo (.env ignored).
2017-10-15 15:39:23 -04:00
92cc400fe7
[core] Refactoring IOFormats so there is one and only obvious way to send it.
...
This is the commit where I admit that having more than one input/output
format for readers and writers was complicating the code too much for a
very small gain, and that it would be easier to only have one way to do
it.
So such way is now:
- Returning (or yielding) a dict if you have key-value type collections.
- Returning (or yielding) a tuple if you have a list-type collection.
- Returning (or yielding) something else otherwise, which will continue
to work like the old "arg0" format.
IOFORMAT options has been removed in favour of a RemovedOption, which
will complain if you're still trying to set it to anything else than the
one value allowed.
2017-10-15 21:37:22 +02:00
fe4964b9c7
comparison to None|True|False should be 'if cond is None:'
2017-10-12 17:46:28 +02:00
53f6cc055f
Fixed bug involved in finding env when running module.
2017-10-11 21:49:39 -04:00
489d22cbcb
Moved default-env-file tests to class.
2017-10-11 20:49:57 -04:00
1aada99596
Small adjustment to test parameters.
2017-10-10 22:56:58 -04:00
af15647ab4
Added tests for running file with combinations of multiple default env files, env files, and env vars. Also reorganized environment directory in examples.
2017-10-10 22:54:31 -04:00
88956ba6fe
default-env-file, default-env, and env-file now in place alongside env. default-env-file and default-env both use os.environ.setdefault so as not to overwrite existing variables (system environment) while env-file and env will overwrite existing variables. All four allow for multiple values (***How might this affect multiple default-env and default-env-file values, I expect that unlike env-file and env the first passed variables would win).
2017-10-08 21:02:31 -04:00
32e222787d
release: 0.5.0
2017-10-05 19:16:03 +02:00
b2f93b2416
[config/dx] bundle a default fs (and http?) service if none is provided ( #179 )
2017-10-05 07:17:16 +02:00
e04c3dd849
Uniformisation of API for graph and node contexts (recv -> write), removing publication of LoopbackBag as this is not stable with current BEGIN/END implementation.
2017-10-02 09:14:10 +02:00
e38ce3cd11
Switched --env / -e optional argument from register to register_generic_run_arguements per suggestion. Also removed tests/util/get_passed_env.py
2017-10-01 20:05:53 -04:00
6abdf09ef7
Moved tests/util/get_passed_env.py into /bonobo/examples/env_vars/get_passed_env.py.
2017-10-01 19:56:49 -04:00
7ca3369f71
Rename "bonobo graph" to "bonobo inspect". For now, graphviz is default but there will probably be a humand default in the future, with graphviz source generation set if --graph (or -g) flag is passed.
2017-09-30 11:01:53 +02:00
8b9dac50ec
Added optional passing of one or multiple environment variables via --env flag to the bonobo cli.
2017-09-18 15:24:27 -04:00
d80118f687
[logging] Tuning windows vs unix display output.
2017-07-16 11:15:40 +02:00
5c64f30551
Merge remote-tracking branch 'upstream/develop' into develop
2017-07-16 10:19:45 +02:00
a8ed0e4322
Move patch one level up because importlib brakes all the CI tools.
2017-07-15 14:52:22 +02:00
7aee728b8d
Add tests for --install of run command
2017-07-15 14:24:44 +02:00
75c15ae1f8
[tests] Adds runners descriptions.
2017-07-15 13:56:51 +02:00
5d59a72310
[core] Adds a .copy() method to graph structure.
2017-07-06 11:29:55 +02:00
4a2c7280d6
[misc] Fixes formatting.
2017-07-05 13:09:46 +02:00
9801c75720
[settings] Better impl. of Setting class, tests for it and refactor hardcoded settings to use it.
2017-07-05 12:41:14 +02:00
6ef25deac9
[config] Adds test for requires() decorator.
2017-07-05 12:01:37 +02:00
4da1b4028a
Merge branch 'dev_refactor_config' into develop
2017-07-05 11:22:15 +02:00
5062221e78
[config] Refactoring of configurables, allowing partially configured objects.
...
Configurables did not allow more than one "method" option, and mixed
scenarios (options+methods+...) were sometimes flaky, forcing the user
to know what order was the right one. Now, all options work the same,
sharing the same "order" namespace.
Backward incompatible change: Options are now required by default,
unless a default is provided.
Also adds a few candies for debugging/testing, found in the
bonobo.util.inspect module.
2017-07-05 11:15:03 +02:00
1d27376785
release: 0.4.2
2017-06-18 21:35:30 +02:00
67b4227436
[stdlib] Fix I/O related nodes (especially json), there were bad bugs with ioformat.
2017-06-17 10:37:17 +02:00
1ca48d885d
Refactoring and fixes around ioformats.
2017-06-08 21:47:01 +02:00
2c2bc4fca9
[qa] fix unclosed files problems in tests.
2017-05-28 23:15:40 +02:00
665ddb560e
Fix version test
2017-05-27 16:10:14 +02:00
1afd8746eb
[pm] Moving project artifact management to next edgy.project version.
2017-05-27 16:08:10 +02:00
de082ed794
Merge branch 'develop' into feature/io_pickle
2017-05-25 06:36:11 -07:00
9375a5d1fb
[nodes/io] Adds an output_format option to CsvReader (BC ok) for more flexibility.
2017-05-25 15:14:51 +02:00
71c47a762b
[config] Implements "Exclusive" context processor allowing to ask for an exclusive usage of a service while in a transformation.
2017-05-25 11:14:49 +02:00
5d8f4c3dc7
Add tests for pickle functionality
2017-05-24 22:20:59 -04:00
02e038b4b3
[qa] removes a bunch of unused code.
2017-05-22 22:34:33 +02:00
1ba31191ee
[qa] adds a rather stupid test to check valueholder works correctly. Still some operations missing.
2017-05-22 22:22:36 +02:00
04f2088220
[qa] add test for bonobo run <path>.
2017-05-22 20:48:16 +02:00
91c9322c58
[qa] tests bonobo run using module path.
2017-05-22 20:29:35 +02:00
1dccad883d
[qa] covers __main__, and formating.
2017-05-22 20:06:26 +02:00
a50b21e46d
[qa] covers __main__
2017-05-22 19:57:08 +02:00
56f9c334f6
[qa] coverage of version command.
2017-05-22 19:25:35 +02:00
52b06834e2
Formating.
2017-05-22 10:35:54 +02:00
a45a6830c7
Fix Method to be non positional as there is a randomly happening bug that I cannot trace.
2017-05-22 10:35:24 +02:00