Fabien Benureau
e9cb26f2e0
core file updated for python 3
12 years ago
Fabien Benureau
7b66a4697d
all repo test pass. doc are temporarily disabled.
12 years ago
Olivier Mangin
e017ffef20
Fix bugs with saving tags in yaml.
...
- now saves tag set as list (maybe the save_meta function should be
moved to paper.py)
- updates test to actually test storing of metadata
12 years ago
Fabien Benureau
467e9f4713
add_cmd automatically recognize the format when using the editor
12 years ago
Fabien Benureau
a1895103fc
new and improved tag(s) command !
...
(will be renamed 'tag' in next commit)
'git tag ref' returns the tags of the ref
'git tag tag1' return the refs which have tag1 as tag
'git tag ref tag1,tag2' add tag1 and tag2 to ref
'git tag ref :tag1,tag2' remove tag1 and add tag2 to ref
12 years ago
Fabien Benureau
d30d5f32c4
"label" renamed as "tag" in the metadata file (and everywhere else).
...
Use the update command to update your metadata files.
Tags is now a property of the Paper class, so one can use :
print(p.tags)
p.tags = ['math', 'romance']
12 years ago
Olivier Mangin
66fc618149
Adds TODO, FIX minor issue in list, change explicit call to class name
...
to cla.
12 years ago
Olivier Mangin
f8e370f288
Uniformizes add and import commands. Still to be further tested.
12 years ago
Olivier Mangin
7c3ce78f70
Basic tag handling.
12 years ago
Olivier Mangin
5d312e020d
Improves edition, FIX bugs.
...
- handle citekey modifications in edition,
- fixes bug in update and remove functions.
12 years ago
Olivier Mangin
83845d2360
Adds update funciton for paper and required API and test updates.
...
- Adds update function that handle changes in citekey.
- Adds copy functions to paper classes.
- Adds tests.
- FIX a few bugs.
12 years ago
Olivier Mangin
2d700073a8
Improves document handling.
...
- configuration is now referenced in repo object,
- introduces new class PaperInRepo,
- simplifies storage of documents in metadata,
- changes a few names.
12 years ago
Olivier Mangin
f734e2f172
Simplified color usage.
12 years ago
Olivier Mangin
3af7590827
Adds basic import command with document file copy.
...
Still lot to be improve on ui and features.
12 years ago
Olivier Mangin
47e3ce88e8
Moves add_papers fonctionality.
...
Now:
- paper.py provides extraction of many Papers from bib,
- command performs the loop to add each paper to repo.
12 years ago
Olivier Mangin
0d53619e1f
Updates commands. Many bug fix.
12 years ago
Olivier Mangin
1fad286517
Improves repo.py, adds tests. Still things to clean and decide...
12 years ago
Olivier Mangin
2d758ea16e
Cleanup Paper class and adds test.
12 years ago
Olivier Mangin
f2e9625aac
Work in progress: improves UTF-8 support, cleans paper creation.
12 years ago
Olivier Mangin
655fb25bfa
Adds command to add multiple reference at once.
...
Also fixes a few bugs.
12 years ago
Fabien Benureau
09b737b210
removed configparser in favor of yaml
13 years ago
Fabien Benureau
cdd2796638
finished implementing the classes
...
a lowercase bug remain that force to move to another format than configparser. Which is just as well.
13 years ago
Fabien Benureau
b413be687d
imcomplete implementation of Repository, Paper classes
13 years ago