Olivier Mangin
4a318a46c2
Only test install on scheduled builds.
6 years ago
Fabien C. Y. Benureau
7818e57ead
reduce the number of isbn test to avoid 403 status
6 years ago
Fabien C. Y. Benureau
8bd3649f18
check that all arguments are optional when no config
6 years ago
Fabien C. Y. Benureau
23cacf2fa5
make 3.4 a mock test
6 years ago
Fabien C. Y. Benureau
8b32ccd9e4
make pubs --help work without pubs init
6 years ago
Fabien C. Y. Benureau
1853f90a68
make failing install tests fail
6 years ago
Fabien C. Y. Benureau
d82536acf6
fix .travis install script
6 years ago
Fabien C. Y. Benureau
d1b0b4eee5
simplify travis checks
6 years ago
Fabien C. Y. Benureau
2df986a681
test pip install in travis
6 years ago
Fabien C. Y. Benureau
3fee6b9403
valid_citekey function in bibstruct
6 years ago
Fabien C. Y. Benureau
9bf88649a3
fix #172
6 years ago
Fabien C. Y. Benureau
a484bab67d
cleanup PR
6 years ago
Fabien C. Y. Benureau
6865e29d15
fix for Python 2
6 years ago
Fabien C. Y. Benureau
31a909eed5
update changelog
6 years ago
Fabien C. Y. Benureau
b99c5b43fa
handle / in citekeys
6 years ago
Fabien C. Y. Benureau
3c6d547a91
allow python 3.3's travis job to fail
6 years ago
Olivier Mangin
a6c7376b51
Version 0.8.2
6 years ago
Olivier Mangin
d931b977e4
Fix #173 : add MANIFEST.in with readme. Also add package data for test fixtures.
6 years ago
Olivier Mangin
41de8b5aab
Fixes code blocks in readme.md.
6 years ago
Fabien C. Y. Benureau
ac327d0c44
Merge pull request #168 from pubs/feat/doc_in_list
...
doc extension visible in pubs list
6 years ago
Olivier Mangin
24ac3bf452
Adds changelog for #168 .
6 years ago
Olivier Mangin
da70d3c381
Handles listing papers with documents without extension.
6 years ago
Fabien C. Y. Benureau
49e6c7d9c2
update tests
7 years ago
Fabien C. Y. Benureau
94e6dccac9
doc extension visible in pubs list
7 years ago
Fabien C. Y. Benureau
8fe2414040
version 0.8.1
7 years ago
Fabien C. Y. Benureau
047e11f1f8
Merge pull request #167 from pubs/fix/doi_stats
...
Fix/doi stats
7 years ago
Fabien C. Y. Benureau
c642169ec7
add long_description to setup.py for #166 .
7 years ago
Fabien C. Y. Benureau
51fa0de520
remove error, improve description
7 years ago
Fabien C. Y. Benureau
a58f1b1d5e
hotfix for #164
7 years ago
Fabien C. Y. Benureau
efb91b1ff4
hotfix for #165
7 years ago
Olivier Mangin
3fb951963c
Merge pull request #152 from pubs/pre0.8.0
...
Version 0.8.0.
7 years ago
Olivier Mangin
7d8e87a484
Merge branch 'master' into pre0.8.0
7 years ago
Olivier Mangin
4f57aecfa4
Merge pull request #159 from pubs/fix/doc_add
...
Fixes #144 : behavior of add_copy mode during add.
- correctly handles `add_copy` mode and configuration,
- adds option top force 'copy' mode in `add` command,
- reverts default to `copy` instead of move for the `add` command,
- fixes assumption in tests about the default,
- do not try to delete the source when it is an URL,
- set default to `copy` during `import` commands and provides option for `move` or `link` alternatives.
7 years ago
Olivier Mangin
42d75d1230
Merge branch 'master' into fix/doc_add
7 years ago
Olivier Mangin
c2e52ec4c4
Makes 'copy' the default for the `add_doc` configuration option.
7 years ago
Olivier Mangin
668d30ffbf
Allows move for import on explicit option.
...
- uses `copy` as a default (hence no need for the option),
- does not use `doc_add` config for import.
7 years ago
Olivier Mangin
81aa1cddf4
Merge pull request #155 from pubs/jma/arxiv
...
Handle arXiv errors and other improvements.
- handles old/new style arxiv references
- normalize arXiv citekeys
- improves error handling of doi/isbn (raise Exception if an HTTP status is detected).
- fix the isbn parse test that was incorrectly using doi2bibtex.
- add feedparser to the requirements.txt file.
- allows to run the tests using pytest.
7 years ago
Olivier Mangin
c4bf5eef87
Merge branch 'master' into jma/arxiv
7 years ago
Olivier Mangin
de7644f90a
Merge pull request #160 from pubs/feat/stats
...
Adds the statistics command. (Fixes #8 )
7 years ago
Fabien C. Y. Benureau
51aa9795fd
add 3.7 tests
7 years ago
Fabien C. Y. Benureau
8e30ac7400
refix test + switch apis to https
7 years ago
Fabien C. Y. Benureau
0eb069c86a
fix test + sorted json
7 years ago
Fabien C. Y. Benureau
30a7094eaf
add arXiv tests
7 years ago
Olivier Mangin
7dae35e722
Adds the statistics command. ( Fixes #8 )
7 years ago
Olivier Mangin
7d1c678d3d
Adds changelog entry
7 years ago
Olivier Mangin
8eef7bd77b
Remove code duplication for command arguments.
7 years ago
Olivier Mangin
a8de97c327
Fixes #144 : behavior of add_copy mode during add.
...
- correctly handles add_copy mode and configuration,
- add option top force 'copy' mode (since the default had been changed
in between from 'copy' to 'move' this is now needed),
- fixes assumption in one test that the default is 'copy' (in other
words the test was broken and ensuring that the functionality was broken
too.),
- do not try to delete the source when it is an URL.
7 years ago
Fabien C. Y. Benureau
c62d1c3c50
move test data from pickle to json
7 years ago
Fabien C. Y. Benureau
fdb6e5541d
Add explanation for how mock work. Fix pickle protocol error for Python 2.7.
7 years ago
Fabien C. Y. Benureau
bf1b4cd9d7
mock mode for test_apis
...
The mock system relies on the PUBS_TESTS_MODE environmental variable.
See the `tests/mock_requests.py` code for details.
By defaults, fast mock tests are used with data pre-fetched from real
calls.
7 years ago