Fabien C. Y. Benureau
6865e29d15
fix for Python 2
2019-01-05 00:45:25 +09:00
Fabien C. Y. Benureau
31a909eed5
update changelog
2019-01-04 23:33:25 +09:00
Fabien C. Y. Benureau
b99c5b43fa
handle / in citekeys
2019-01-04 23:17:54 +09:00
Fabien C. Y. Benureau
3c6d547a91
allow python 3.3's travis job to fail
2019-01-04 13:13:08 +09:00
Olivier Mangin
a6c7376b51
Version 0.8.2
2018-12-04 20:42:20 -08:00
Olivier Mangin
d931b977e4
Fix #173 : add MANIFEST.in with readme. Also add package data for test fixtures.
2018-12-04 20:42:20 -08:00
Olivier Mangin
41de8b5aab
Fixes code blocks in readme.md.
2018-12-04 20:42:20 -08:00
Fabien C. Y. Benureau
ac327d0c44
Merge pull request #168 from pubs/feat/doc_in_list
...
doc extension visible in pubs list
2018-10-04 18:33:25 +09:00
Olivier Mangin
24ac3bf452
Adds changelog for #168 .
2018-09-26 23:36:06 -07:00
Olivier Mangin
da70d3c381
Handles listing papers with documents without extension.
2018-09-26 22:44:48 -07:00
Fabien C. Y. Benureau
49e6c7d9c2
update tests
2018-08-28 17:37:35 +09:00
Fabien C. Y. Benureau
94e6dccac9
doc extension visible in pubs list
2018-08-28 17:20:29 +09:00
Fabien C. Y. Benureau
8fe2414040
version 0.8.1
2018-08-28 10:42:54 +09:00
Fabien C. Y. Benureau
047e11f1f8
Merge pull request #167 from pubs/fix/doi_stats
...
Fix/doi stats
2018-08-28 10:20:13 +09:00
Fabien C. Y. Benureau
c642169ec7
add long_description to setup.py for #166 .
2018-08-27 12:14:16 +09:00
Fabien C. Y. Benureau
51fa0de520
remove error, improve description
2018-08-27 12:05:57 +09:00
Fabien C. Y. Benureau
a58f1b1d5e
hotfix for #164
2018-08-27 11:52:52 +09:00
Fabien C. Y. Benureau
efb91b1ff4
hotfix for #165
2018-08-27 11:47:25 +09:00
Olivier Mangin
3fb951963c
Merge pull request #152 from pubs/pre0.8.0
...
Version 0.8.0.
2018-08-20 16:07:13 +02:00
Olivier Mangin
7d8e87a484
Merge branch 'master' into pre0.8.0
2018-08-20 15:25:24 +02:00
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.
2018-08-20 14:02:34 +02:00
Olivier Mangin
42d75d1230
Merge branch 'master' into fix/doc_add
2018-08-20 13:25:40 +02:00
Olivier Mangin
c2e52ec4c4
Makes 'copy' the default for the add_doc
configuration option.
2018-08-20 12:18:23 +02:00
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.
2018-08-20 12:14:25 +02:00
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.
2018-08-20 11:44:53 +02:00
Olivier Mangin
c4bf5eef87
Merge branch 'master' into jma/arxiv
2018-08-14 13:23:44 +02:00
Olivier Mangin
de7644f90a
Merge pull request #160 from pubs/feat/stats
...
Adds the statistics command. (Fixes #8 )
2018-08-14 13:20:36 +02:00
Fabien C. Y. Benureau
51aa9795fd
add 3.7 tests
2018-08-14 17:41:58 +09:00
Fabien C. Y. Benureau
8e30ac7400
refix test + switch apis to https
2018-08-14 17:35:59 +09:00
Fabien C. Y. Benureau
0eb069c86a
fix test + sorted json
2018-08-14 17:20:23 +09:00
Fabien C. Y. Benureau
30a7094eaf
add arXiv tests
2018-08-14 17:05:11 +09:00
Olivier Mangin
7dae35e722
Adds the statistics command. ( Fixes #8 )
2018-08-09 23:48:29 +02:00
Olivier Mangin
7d1c678d3d
Adds changelog entry
2018-08-09 19:22:54 +02:00
Olivier Mangin
8eef7bd77b
Remove code duplication for command arguments.
2018-08-09 19:19:29 +02:00
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.
2018-08-09 19:00:01 +02:00
Fabien C. Y. Benureau
c62d1c3c50
move test data from pickle to json
2018-08-09 19:51:40 +09:00
Fabien C. Y. Benureau
fdb6e5541d
Add explanation for how mock work. Fix pickle protocol error for Python 2.7.
2018-08-07 11:48:28 +09:00
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.
2018-08-07 11:30:13 +09:00
Fabien C. Y. Benureau
be80e75cbb
better error message when parsing of bibtex fails
...
Plus, slight refactoring: remove `databroker.verify()` method
2018-08-06 17:45:30 +09:00
Fabien C. Y. Benureau
69f760cac6
dev_requirements.txt + explanation
2018-08-06 11:28:14 +09:00
Fabien C. Y. Benureau
938a53b8f5
python setup.py test + no connection case
...
- Make `python setup.py test work`. remove test/requirements.txt.
fix #154
- Detect if no connection is present, and skip tests if not.
stop-gap measure for issue #147
2018-08-06 11:20:50 +09:00
Fabien C. Y. Benureau
814ce1bde2
remove timespec argument from isoformat (introduced in 3.6)
2018-08-05 22:19:56 +09:00
Fabien C. Y. Benureau
647fea8ddb
update doi fail test, fix isbn test
2018-08-05 22:16:01 +09:00
Fabien C. Y. Benureau
be253f9084
handling of arxiv errors
2018-08-05 22:08:00 +09:00
Fabien C. Y. Benureau
bf46702374
pytest fixes
...
pytest will automatically run/collect anything that begins with "test".
Renamed a few thing to avoid false positive.
2018-08-05 22:07:23 +09:00
Fabien C. Y. Benureau
20c5ed7446
Merge pull request #146 from joe-antognini/jma/arxiv
...
Arxiv support for pubs add.
2018-08-05 21:48:57 +09:00
J. Antognini
d6ab091e5c
Only allow one of doi, arxiv, or isbn to pubs_add
...
Also includes some minor refactoring.
2018-08-05 00:00:20 -07:00
Olivier Mangin
6e72b0e2f7
Merge branch 'master' into jma/arxiv
2018-08-02 12:01:10 +02:00
Olivier Mangin
01b0358f2c
Version 0.8.0.
2018-08-01 16:44:59 +02:00
Olivier Mangin
c6edacf3ec
Merge pull request #149 from pubs/fix87
...
Fix #87 (more robust error handling and list command)
2018-08-01 15:38:02 +02:00