Fabio Erculiani
9426900ccc
[eit.commands.log] drop access() usage
2013-09-18 08:57:32 +02:00
Fabio Erculiani
fd981bacb9
[eit.commands.inject] drop access() usage
2013-09-18 08:56:35 +02:00
Fabio Erculiani
5793020aad
[eit.main] use _exit() rather than SystemExit() exception.
...
The former is reentrant and safe to be used in signal handlers.
2013-09-05 19:22:40 +02:00
Fabio Erculiani
51ea669c02
[server] deal with Python bug #16308
2013-08-23 10:58:04 +02:00
Fabio Erculiani
6a249d4f11
[eit.commands.command] call shutdown() before releasing locks
...
shutdown() calls EntropyCacher.sync() and stop()...
2013-08-10 11:02:17 +02:00
Fabio Erculiani
bc4d4bd49f
[eit] add "eit query required" command
2013-07-18 19:02:25 +02:00
Fabio Erculiani
aefbb2d665
[entropy.server,eit] add support for eit push --force
2013-07-17 10:51:52 +02:00
Fabio Erculiani
5afdea550d
[eit.commands] EitCommand: reset repositories states after lock acquisition
2013-07-16 16:07:32 +02:00
Fabio Erculiani
6d741292b6
[eit.commands.query] fix variable name clashing
2013-06-25 09:36:54 +02:00
Fabio Erculiani
85302b7253
[eit] dump local variables for every stack frame if an exception occurs
2013-06-03 13:14:13 +02:00
Fabio Erculiani
897799201f
[eit] wait indefinitely to acquire the resources lock using a spinner
2013-05-03 09:12:51 +02:00
Fabio Erculiani
75254b5602
[eit.commands.{push,pull}] add --conservative support
2013-04-05 16:07:45 +01:00
Fabio Erculiani
fa634ad2e1
[eit.commands.{cp,mv}] add --conservative flag that disables implicit tree updates
2013-04-05 14:37:45 +01:00
Fabio Erculiani
35252b91e6
[eit.commands.{add,commit}] add --conservative flag that disables implicit tree updates
2013-04-05 14:34:53 +01:00
Fabio Erculiani
763ca45a54
[eit.commands.command] add _entropy_class() method
2013-04-05 14:32:33 +01:00
Fabio Erculiani
a3e717f031
[eit.commands.pull] make sure to generate the database index when pulling
2013-04-05 13:01:04 +01:00
Fabio Erculiani
8d0229d3c9
[eit.commands.log] fix bzless path, bzless moved from /bin to /usr/bin
2013-03-30 23:20:53 +00:00
Fabio Erculiani
b4a5201b62
[eit] add "eit repo add" and "eit repo remove" commands (and move "eit repo" to "eit repo show")
2013-03-30 12:52:54 +00:00
Fabio Erculiani
cdeedfe483
[eit] main: do not execute command if not allowed
2013-03-30 11:51:28 +00:00
Fabio Erculiani
a5f447431c
[eit] utils: if sha1 or sha256 hashes are not available, print N/A
2013-03-29 17:40:56 +00:00
Fabio Erculiani
d6295b3e00
[entropy*] create const_mkstemp() as tempfile.mkstemp() wrapper.
...
using /tmp as TMPDIR is a no go, since on modern systems, /tmp is on
tmpfs with a very limited amount of fs size assigned. Use /var/tmp/entropy
(or /var/tmp as fallback) instead.
2013-03-29 12:09:17 +00:00
Fabio Erculiani
7f24231978
[eit.utils] print_package_info: also print SHA1, SHA256 and GPG info
2013-03-20 15:07:49 +00:00
Fabio Erculiani
1e53daf23d
[eit] monkey patch argparse.ArgumentParser to fix UTF-8 strings handling
...
See bug 4049.
2013-03-11 01:02:22 +00:00
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