Lertsenem
41226d0489
Do not add extension to confname when user-defined
...
If the user chose the confname, we should generate an error rather than
silently change it when we find it's already taken.
2016-06-03 03:38:45 +02:00
Lertsenem
e6c4dcbdbc
Change confname when already taken
...
If the confname of the file we want to add already exists (for a
different abspath of course), we add a numeric extension to it. Same
thing if the confname is the metafile name.
2016-06-03 03:34:54 +02:00
Lertsenem
20566a3c89
Never gonna tell a lie
2016-06-02 02:16:40 +02:00
Lertsenem
c6687e7b9e
Lying about README being markdown
2016-06-02 02:13:53 +02:00
Lertsenem
b402cba1d9
Moving one dir up
2016-06-02 02:07:58 +02:00
Lertsenem
fbc72c0c12
Adding README
2016-06-02 02:06:16 +02:00
Lertsenem
c995f07e67
Take into account missing files when checking
2016-05-27 00:24:00 +02:00
Lertsenem
2449711ede
Import error in check
...
See issue #5 on git.lertsenem.com
2016-05-26 23:55:05 +02:00
Lertsenem
151eb5f545
Typo
2016-05-26 23:51:47 +02:00
Lertsenem
73c3629ab6
Bug on 'check' command for directories
...
The command always showed a directory mismatch, because of filecmp.cmp
function being applied to dirs (and not files only, duh).
2016-02-25 02:33:54 +01:00
Lertsenem
d963b185c8
Adding 'check' command
2015-12-11 15:55:10 +01:00
Lertsenem
041d7d937e
Style
2015-12-11 15:54:57 +01:00
Lertsenem
f84bfe9eee
Missing dependency for update commmand
2015-12-08 00:29:14 +01:00
Lertsenem
f040199892
Correction
...
os.path.join()
2015-12-07 18:26:39 +01:00
Lertsenem
e32b5bd336
Style
2015-12-07 18:19:19 +01:00
Lertsenem
9feddf8011
Move delete command to commands module
2015-12-07 18:11:35 +01:00
Lertsenem
6206c015a2
Move add command in commands module
...
Plus corrections (os.path.join)
2015-12-07 17:42:53 +01:00
Lertsenem
cd848ff88a
Move update command in commands module
...
Plus corrections (os.path.join)
2015-12-07 17:24:59 +01:00
Lertsenem
20f000f3b8
Corrections & lisibility in package command
...
Use os.path.join() rather than "/".join()
Respect 80 chars wide format
2015-12-07 16:56:13 +01:00
Lertsenem
eab5121d97
Move package command in commands module
2015-12-07 16:48:01 +01:00
Lertsenem
1749d0706d
Add commands module. Move list command inside.
2015-12-07 16:36:07 +01:00
Lertsenem
7a8215ae16
Moving utils functions in separate module
2015-12-07 15:00:01 +01:00
Lertsenem
2b09b2d27a
Adding trailing slashes when listing directories
...
When listing backuped files, it was difficult to discriminate beytween
files and directories. Well, not anymore !
2015-11-28 13:11:27 +01:00
Lertsenem
84dc120ee8
Adding dirs with trailing slashes
...
A bug prevented users to add conf dirs with trailing slashes.
2015-11-28 13:01:43 +01:00
Lertsenem
566cdf5df4
Package all applications if no arguments
...
When using the 'package' command, of course.
2015-11-27 17:13:29 +01:00
Lertsenem
cef6150cbb
List files with the 'list' command
2015-09-16 19:31:18 +02:00
Lertsenem
310535f2b3
Code factorisation
2015-09-16 18:53:23 +02:00
Lertsenem
b473e698f1
Adding 'delete' command
2015-09-16 18:51:44 +02:00
Lertsenem
cedd6c3522
Adding argparse stub for del command
2015-09-16 17:48:25 +02:00
Lertsenem
06b5372219
Prettify code
2015-09-16 17:47:52 +02:00
Lertsenem
e36ee84d07
Adding default to 'update': all apps/all files
2015-09-16 17:34:35 +02:00
Lertsenem
f158f3f371
Readability revamp
2015-09-15 15:51:32 +02:00
Lertsenem
67f3d16b06
Revamp + add 'list' command
...
To list all apps and make use of the new Persoconf object.
2015-09-14 13:03:49 +02:00
Lertsenem
8a9d2e60d0
Adding Persoconf class
...
Yep, OOP can be useful.
2015-09-14 13:02:56 +02:00
Lertsenem
615dd5c6e8
Use of startswith()
2015-09-14 12:58:16 +02:00
Lertsenem
863f02d137
Can package multiple apps
2015-09-13 12:35:52 +02:00
Lertsenem
421354e9c9
Filtering out '~/'
2015-09-13 12:21:59 +02:00
Lertsenem
20b0632d0b
Basic package command for 'tgz'
2015-09-12 18:54:29 +02:00
Lertsenem
631a0b8028
Adding 'type' arg to 'package' command
2015-09-12 17:53:22 +02:00
Lertsenem
3ea6eeced8
Mistakes
2015-08-21 18:54:18 +02:00
Lertsenem
dcc0625b3c
Adding 'update' command
2015-08-20 01:07:51 +02:00
Lertsenem
33b0d49970
Adding copy function
2015-08-20 01:07:17 +02:00
Lertsenem
0292d4d706
META manipulation now goes into Metafile class
2015-08-17 16:50:53 +02:00
Lertsenem
ebf051fe3f
Adding META management for 'add' command
2015-08-15 18:42:07 +02:00
Lertsenem
4157776316
Addinf 'add' command
...
But no use of META right now
2015-08-15 17:32:23 +02:00
Lertsenem
50f0990f3e
Better logging
2015-08-09 15:03:34 +02:00
Lertsenem
03ae84e81e
Help command
2015-08-09 14:21:46 +02:00
Lertsenem
e43ebf8f0b
Logging, verbosity & rootdir creation
2015-08-09 14:18:21 +02:00
Lertsenem
76ace3c9da
Argparse for package & backup
2015-08-08 16:41:08 +02:00
Lertsenem
834e523ae1
Initial commit
2015-08-08 16:03:52 +02:00