Commit Graph

157 Commits

Author SHA1 Message Date
Fabio Erculiani
a1e59c352f [server] fix --help output when redirected through pipes, fix bug 4049 2013-03-08 12:55:59 +01:00
Fabio Erculiani
983b72d6a7 [eit] add --pretend support to push, pull and cleanup commands 2013-03-02 18:37:14 +00:00
Fabio Erculiani
9eb56dbc14 [entropy.const] drop several etpConst constants, replace with more OO vars
etpConst['clientdbid'] is kept for backward compatibility, but will be removed soon
While etpConst['serverdbid'] and etpConst['clientserverrepoid'] are gone.
2013-02-20 00:56:52 +00:00
Fabio Erculiani
19758885be [eit.commands.test] if "eit test deps" reports missing deps, return != 0 2013-02-09 14:52:04 +00:00
Fabio Erculiani
943e91f74d [eit] convert all the sys.argv elements to unicode in main()
This avoids potential issues with entropy.db and other entropy.server
components.
2012-12-01 19:16:26 +01:00
Fabio Erculiani
45314881e7 [eit] fix print_table() usage in "eit status" 2012-11-11 14:01:38 +01:00
Fabio Erculiani
280a7067b3 [entropy.cli] drop module, move code to client/ and server/
Even though it is a small code duplication, entropy.cli does make
much less sense.
2012-11-04 21:11:56 +01:00
Fabio Erculiani
d166690c35 [eit.commands.lock] validate repository_id in "eit lock" and "eit unlock" 2012-09-08 20:11:22 +02:00
Fabio Erculiani
1aee2a4371 [eit] handle OnlineMirrorError more nicely. 2012-09-08 20:11:21 +02:00
Fabio Erculiani
d1475cff31 [eit.commands.reset] subclass EitPull rather than EitPush 2012-08-26 16:02:18 +02:00
Fabio Erculiani
2e6b176c83 [eit] do not raise any exception in sys.excepthook 2012-08-19 00:25:31 +02:00
Fabio Erculiani
e1e5ecae08 Revert "[eit] query: fix bug with --in argument for revdeps and needed"
This reverts commit e29c3dcd56.
2012-04-22 14:47:11 +02:00
Fabio Erculiani
ba39bb9228 Revert "[eit] query: drop --in for revdeps and tags completely (not needed)"
This reverts commit ad2a261f78.
2012-04-22 14:47:01 +02:00
Fabio Erculiani
ad2a261f78 [eit] query: drop --in for revdeps and tags completely (not needed) 2012-04-22 14:44:57 +02:00
Fabio Erculiani
e29c3dcd56 [eit] query: fix bug with --in argument for revdeps and needed 2012-04-22 14:42:21 +02:00
Fabio Erculiani
ce3788aa59 [eit] add "eit remote" command 2012-04-16 22:07:27 +02:00
Fabio Erculiani
a4377f07e1 [eit] fix typo in "eit rm --from <repository>" help string, thanks to micia 2012-04-03 17:57:02 +02:00
Fabio Erculiani
a67a52f49a [eit] enable shared locking usage for "unlocked" methods 2012-02-15 20:08:09 +01:00
Fabio Erculiani
affcf20425 [entropy.i18n] rename P_() into ngettext().
intltool-update doesn't understand ngettext function exposed as
P_().
2012-02-13 14:14:45 +01:00
Sławomir Nizio
a8420b5ad5 [i18n] use ngettext in some places where it's most useful 2012-02-12 15:47:58 +01:00
Fabio Erculiani
c7253fdab2 [eit.commands.commit] open repository in write mode to force treeupdates 2012-01-26 20:24:57 +01:00
Fabio Erculiani
9e7055f6be [entropy.server,eit] split push from pull (in repo sync)
From now on, any push request will not have the side effect of
pulling new repo metadata if required, and vice versa.
2012-01-24 15:08:32 +01:00
Fabio Erculiani
01d09ecfce [eit] add more man pages
- eit merge
- eit pkgmove
- eit push
- eit query
- eit remove
- eit repo
- eit reset
- eit test
2011-11-22 19:32:40 +01:00
Fabio Erculiani
7195ca4d8e [eit] add more man pages
- eit cleanup
- eit inject
- eit key
- eit list
- eit lock
- eit unlock
- eit match
2011-11-22 19:03:01 +01:00
Fabio Erculiani
65aaad61d9 [eit.commands.commit] make sure that store_dir exists 2011-11-21 18:34:50 +01:00
Fabio Erculiani
c44cb0195d [eit] add "eit init", "eit deps" man pages 2011-11-19 18:13:34 +01:00
Fabio Erculiani
4e7a895938 [eit] add "eit graph", "eit revgraph" man pages 2011-11-19 18:01:45 +01:00
Fabio Erculiani
6c39444d75 [eit] add "eit own" man page 2011-11-19 17:58:32 +01:00
Fabio Erculiani
2aae56dbe8 [eit] add "eit files" man page 2011-11-19 17:43:22 +01:00
Fabio Erculiani
5ea5915b47 [eit] add man page for "eit cp", "eit log", "eit mv" 2011-11-18 20:52:30 +01:00
Fabio Erculiani
c371785a96 [eit] add "eit-checkout" and "eit-cleanup" man pages 2011-11-18 16:40:21 +01:00
Fabio Erculiani
dd5855df25 [eit.commands.bump] add man page 2011-11-16 17:27:43 +01:00
Fabio Erculiani
6a69307f4c [eit] add eit-notice man page (and improve automatic man generation functions) 2011-11-14 23:34:37 +01:00
Fabio Erculiani
2c1e69fcf4 [eit.commands.branch] add --no-copy argument, add man support 2011-11-10 16:22:44 +01:00
Fabio Erculiani
e5d6980267 [eit.commands.command] move man() from eit.commands.commit to eit.commands.command (rename to _eit()) 2011-11-10 16:22:03 +01:00
Fabio Erculiani
44471c5ba3 [entropy.server] move Makefile logic to server/, add man support to eit, move matter to server/ 2011-11-10 15:33:43 +01:00
Fabio Erculiani
33cec7d102 [eit.commands.list] fix command description 2011-10-31 19:15:24 +01:00
Fabio Erculiani
b165633c44 [eit.commands.push] read the commit file using codecs.open() and always generate unicode strings 2011-10-30 16:50:36 +01:00
Fabio Erculiani
a77c4e832a [eit.commands.pkgmove] sort entries by unix time 2011-10-29 14:22:39 +02:00
Fabio Erculiani
622bda034d [eit.commands.pkgmove] keep date information across pkgmove data handling
Throwing date information away on every pkgmove edit will cause
data duplication in the db, due to the nature of entropy.server
cross-repo data sync logic.
2011-10-29 13:16:05 +02:00
Fabio Erculiani
8e24e0388d [eit.commands.push] catch OnlineMirrorError exception 2011-10-29 13:06:10 +02:00
Fabio Erculiani
9b0333f757 [eit.commands.lock] implement bash completion 2011-10-29 11:28:11 +02:00
Fabio Erculiani
0a89667eb2 [eit.*] complete basic bashcomp support 2011-10-28 22:52:12 +02:00
Fabio Erculiani
7e24c6878f [eit.commands.bump] bashcomp: avoid printing more than one repo 2011-10-28 22:24:10 +02:00
Fabio Erculiani
19aa227f9e [eit.commands.bump] filter out last argument from outcome to avoid looping 2011-10-28 21:40:01 +02:00
Fabio Erculiani
aa698b4a6d [eit.commands.bump] add bash-completion support 2011-10-28 20:40:32 +02:00
Fabio Erculiani
25323d4a07 [eit] implement initial bash-completion support 2011-10-28 19:47:19 +02:00
Fabio Erculiani
88321c8484 [eit.commands.commit] beautify "Scanning..." string 2011-10-27 14:07:23 +02:00
Fabio Erculiani
e8b4974476 [eit.commands.commit] fix "Scanning..." string 2011-10-27 14:06:35 +02:00
Fabio Erculiani
645d09b2fc [eit.commands.checkout] fix alias, it's "co", and not "ci" 2011-10-26 12:08:00 +02:00