a935c8fa92
Merge branch 'feature/bonobo-init-should-work-on-an-empty-existing-directory' of git://github.com/arimbr/bonobo into arimbr-feature/bonobo-init-should-work-on-an-empty-existing-directory
2017-10-23 22:45:39 +02:00
0c865818a5
Merge pull request #198 from hartym/develop
...
Development of 0.6
2017-10-23 22:38:04 +02:00
a79c17c3e9
[tests] bonobo.util.objects
2017-10-23 22:15:19 +02:00
dd28e08f0f
[nodes] Removing draft quality factory from bonobo main package, will live in separate personnal package until it is good enough to live here.
2017-10-23 21:56:13 +02:00
ece764b95c
[tests] rename factory test and move bag detecting so any bag is returned as is as an output.
2017-10-23 21:28:49 +02:00
9a54f7b4aa
[core] Still refactoring the core behaviour of bags, starting to be much simpler.
2017-10-23 21:18:02 +02:00
4641425e4c
Fix python 3.5 os.chdir not accepting LocalPath
2017-10-23 00:30:10 +02:00
7c0071bfdf
Remove unused shutil import
2017-10-22 23:30:23 +02:00
9820fca2b4
Use pytest tmpdir fixture and add more init tests
2017-10-22 23:26:59 +02:00
df45251622
Check if target directory is empty instead of current directory and remove overwrite_if_exists argument
2017-10-22 23:05:58 +02:00
f18889830b
Remove dispatcher as it is not a dependency, for now, and as such breaks the continuous integration (yes, again.).
2017-10-22 18:11:11 +02:00
01a652cd05
Remove dispatcher as it is not a dependency, for now, and as such breaks the continuous integration.
2017-10-22 18:08:03 +02:00
3c453f0be7
Code formating.
2017-10-22 18:05:39 +02:00
28fe41c0bd
[core] Testing and fixing new args/kwargs behaviour.
2017-10-22 18:00:16 +02:00
bc01b5d404
[core] simplification of result interpretation.
2017-10-22 17:37:49 +02:00
80006ba24d
[tests] fix uncaptured output in test_commands
2017-10-22 17:23:19 +02:00
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