Sławomir Nizio
e26d11b5f6
Python 3 fixes: open() and so, not file()
2019-12-04 22:01:22 +01:00
Ettore Di Giacinto
35a3fa3c75
Merge pull request #68 from Enlik/modules-reorg
...
Make Entropy able to work from within Python site directory
2019-03-13 22:48:40 +01:00
Daniele Rondina
215e5b019e
eit: Add --reset-revision option to inject command
2019-03-01 19:02:56 +01:00
Sławomir Nizio
321d59614f
update eit imports + minor rename in entropy_path_loader
2018-11-26 20:15:36 +01:00
Geaaru
d36bef4f79
[eit] Add --quick option to inject command
2018-03-26 23:55:29 +02:00
Geaaru
9781fa409f
[eit] Fix pass of ask attribute to add_packages_to_repository function on commit command.
2017-12-26 17:03:49 +01:00
Fabio Erculiani
363c6a175f
[entropy.*] migrate all retrieveNeeded uses to retrieveNeededLibraries
2014-10-20 15:04:19 +02:00
Fabio Erculiani
92254d3986
[eit.commands.deps] add support for adding and removing conflicts
2014-05-31 15:27:08 +01:00
Fabio Erculiani
f95946754d
[eit.commands.cp] fix parsing of source and dest repos
2014-04-08 13:55:05 +02:00
Fabio Erculiani
8cbab29394
[eit.commands.cp] replace "+" with "*" in the packages argument spec
2014-04-08 13:46:13 +02:00
Fabio Erculiani
ba1d77fa10
[eit.commands] add --quick support to eit {mv,cp}
...
This avoids interactivity
2014-04-08 12:02:39 +02:00
Fabio Erculiani
8f8f58bb41
[eit.commands] remove _get_parser() from EitMv, it's shared with EitCp
2014-04-08 11:54:59 +02:00
Fabio Erculiani
cda2ff9e0f
[eit.command.status] fix _calculate_local_upload_files() usage
2014-03-22 08:12:23 +01:00
Fabio Erculiani
119dd0c36b
[eit.commands.commit] fix "eit add foo" (when foo does not exist)
2014-03-19 12:30:47 +01:00
Fabio Erculiani
4aede70e10
[eit.commands.repack] do not set self._packages, adds unnecessary elaboration
2014-03-19 12:30:09 +01:00
Fabio Erculiani
574a30bd98
[eit.commands.command] add missing import
2014-01-28 14:39:16 +01:00
Fabio Erculiani
976c5e72c4
[eit.commands.command] make possible to avoid dealing with the Entropy Resources Lock
2014-01-28 14:00:15 +01:00
Fabio Erculiani
1e16119560
[eit.commands] remove leading ">>" string from ask_question() message.
2013-12-16 19:53:36 +01:00
Fabio Erculiani
53cbf979c5
[eit.commands.cp] make sure to open the source repository in rw
...
This will trigger treeupdates and the collected package identifiers
will not become stale.
2013-12-16 16:26:27 +01:00
Fabio Erculiani
a8e902b0a5
[eit.commands] rename call_unlocked to call_shared, call_locked to call_exclusive
2013-12-12 22:17:36 +01:00
Fabio Erculiani
e47db9bfd7
[eit.utils] use the public message header variable
2013-12-12 19:27:31 +01:00
Fabio Erculiani
ebf63e6060
[entropy.locks] fix shared/exclusive locking mix due to reentrancy, add tests
2013-12-08 16:15:39 +01:00
Fabio Erculiani
1917771b54
[entropy.locks] move Entropy Resources Lock code to a separate module
2013-12-08 14:37:57 +01:00
Fabio Erculiani
81dca7339e
[eit.commands.command] use the Entropy class object to acquire the Entropy Resources Lock
2013-12-05 22:19:21 +01:00
Fabio Erculiani
e406a4edaa
[entropy.*] create new dependencies metadata "pkg_dependencies"
...
The old "dependencies" metadata is deprecated. It was found that
the generated metadata might get corrupted by colliding atom strings.
The new implementation avoids collisions completely and is more
efficient.
2013-11-29 19:15:44 +01:00
Fabio Erculiani
421b65ab3a
[eit.commands.commit] use map() instead of filter() in installed packages scan
2013-11-19 21:19:27 +01:00
Fabio Erculiani
b36119bd55
[eit.commands.commit] start counting from 1
2013-11-19 18:33:51 +01:00
Fabio Erculiani
8d6002edaf
[eit.commands.commit] commit data only when something changed
2013-11-18 15:29:03 +01:00
Fabio Erculiani
704e5c8765
[eit.commands.commit] refactor _commit(), divide the function into multiple sub-functions
2013-11-18 12:28:08 +01:00
Fabio Erculiani
715251d062
[eit.commands.commit] start splitting _commit() method
2013-11-18 11:30:18 +01:00
Fabio Erculiani
85d5608562
[eit.commands.commit] make "eit repack" not fall back to packages scanning
2013-11-18 11:06:48 +01:00
Fabio Erculiani
b70d9c2f29
[eit.commands.commit] make "eit repack" smarter and more reliable
2013-11-18 10:59:16 +01:00
Fabio Erculiani
384db92b17
[eit.commands.commit] improve output function usage
2013-11-18 10:44:21 +01:00
Fabio Erculiani
764b215278
[eit.commands.{mv,cp}] add support for package sets
2013-10-16 11:47:14 +02:00
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