321bb83aa4
Documentation for new behaviour.
2017-10-22 16:57:46 +02:00
0c58d21b12
[django, misc] adds create_or_update to djangos ETLCommand class, adds getitem/setitem/contains dunders to ValueHolder.
2017-10-22 16:26:47 +02:00
42c1fee6f1
[core] (..., dict) means Bag(..., **dict)
2017-10-22 16:26:47 +02:00
650b49a41a
[django, google] Implements basic extensions for django and google oauth systems.
...
Using those extensions means you have the correct dependencies installed, and that you know about the external system.
Django: just provide an ETLCommand class that contains all the shortcuts
to write django management commands based on Bonobo.
Google: shortcuts to create the necessary objects for oauth flow, with
local caching of credentials.
Both those extensions are not stable and will evolve.
2017-10-22 16:26:36 +02:00
329bf9e6ca
Merge pull request #194 from hartym/develop
...
[core] Refactoring IOFormats so there is one and only obvious way to …
2017-10-21 12:58:37 +02:00
7560412bc7
Merge branch 'develop' of github.com:python-bonobo/bonobo into develop
2017-10-21 12:56:06 +02:00
4f1eeacd45
Merge tag '0.5.1' into develop
...
0.5.1
2017-10-21 12:54:46 +02:00
c7f39aa851
release: 0.5.1
2017-10-21 12:49:34 +02:00
9faed8fa38
Merge pull request #197 from hartym/master
...
Maintenance.
2017-10-21 12:45:54 +02:00
d596d3a438
Update requirements.
2017-10-21 12:39:46 +02:00
866824db7c
[config] Adds __doc__ to option/service. Fix variable names in Option.__get__() that would have an unpredicatable behaviour in the rare case of using get on a type. Update to Medikit.
2017-10-21 12:39:19 +02:00
12e4250166
Merge pull request #195 from cw-andrews/feature/env_file
...
Feature/env file
2017-10-17 13:55:48 +02:00
7c8625dda6
Update conf.py
2017-10-16 16:59:47 +02:00
b87f674eb2
Test tweak to work for Windows CI.
2017-10-15 19:55:37 -04:00
3f3bda632c
Updated requirements files using edgy-project.
2017-10-15 19:50:27 -04:00
d8c04138f6
Updated Projectfile to include python-dotenv dependency.
2017-10-15 19:45:54 -04:00
f1e9969a88
Add tests for bonobo init new directory and init within empty directory
2017-10-15 23:54:26 +02:00
5d41f6df2d
Update environment.rst
...
Updated examples to use preferred naming conventions for default and private/local .env files per request of @hartym.
2017-10-15 17:15:30 -04:00
945d850139
Update environment.rst
...
Fixed typo (I think).
2017-10-15 17:11:10 -04:00
bad598a4d7
Cast env_dir to string before passing to load_dotenv as passing a PosixPath to load_dotenv raises an exception in 3.5.
2017-10-15 16:52:14 -04:00
d6d063ad43
Updated environment documentation in guides to account for env files.
2017-10-15 16:43:28 -04: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
f6d78ceeb5
Set cookiecutter overwrite_if_exists parameter to True if current directory is empty
2017-10-15 16:02:47 +02:00
b0623c77c9
Fixes #186 , probably the whole logic should be refactored as the approach of hardcoding iterators which we should not iterate on is bad. Let's think about it for 0.6, maybe that just means removing the ability to return a list/tuple from a function for multiple rows, as a generator would do the same.
2017-10-15 14:09:57 +02:00
137b1e619b
Merge pull request #191 from hartym/develop
...
Develop
2017-10-13 17:42:43 +02:00
3868dc6e3c
Merge pull request #190 from JasonCrowe/master
...
[doc] fix typos and errors.
2017-10-13 17:36:22 +02:00
78b8a01b75
Merge pull request #189 from mouadhkaabachi/develop
...
comparison to None|True|False should be 'if cond is None:'
2017-10-13 17:35:46 +02:00
dc59c88c3d
[cli/util] fix requires to use the right stack frame, remove --print as "-" does the job
2017-10-13 17:25:42 +02:00
64875a05bd
[cli] Adds a --filter option to "convert" command, allowing to use arbitrary filters to a command line conversion. Also adds --print and "-" output to pretty print to terminal instead of file output.
2017-10-13 17:21:25 +02:00
b1d7498054
[cli] convert, remove useless import.
2017-10-12 19:12:10 +02:00
721ed499bb
[config] adds a __doc__ constructor kwarg to set option documentation inline.
2017-10-12 19:02:11 +02:00
99351a638b
[doc] formating
2017-10-12 19:01:47 +02:00
2898902ebd
[cli] adds ability to override reader/writer options from cli convert.
2017-10-12 19:01:35 +02:00
2532dd1b89
[doc] fix typos and errors.
2017-10-12 11:41:23 -05:00
fe4964b9c7
comparison to None|True|False should be 'if cond is None:'
2017-10-12 17:46:28 +02:00
8174257bd0
Fighting with google analytics properties linked to multiple websites.
2017-10-12 08:20:59 +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
5dac844f0c
Create CREDITS.rst
2017-10-10 11:24:21 +02:00
14a61305bc
Update base.html
2017-10-10 08:47:43 +02:00
0ca766a7b9
Update base.html
2017-10-10 08:39:09 +02:00
0c310543e4
Update base.html
2017-10-10 08:30:03 +02:00
e469ba30ba
Updated requirements.txt and requirements-dev.txt to include python-dotenv and dependencies.
2017-10-08 21:13:51 -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
e3125e7e02
Further Refactored the setting of env vars passed via the env flag.
2017-10-08 19:52:25 -04:00