Commit Graph

11448 Commits

Author SHA1 Message Date
Ettore Di Giacinto
c2f66c5943 Fix README 2018-08-04 20:37:29 +02:00
Ettore Di Giacinto
36b698b74b Merge pull request #49 from Enlik/spm-by-user
[solo.commands.rescue] use world file to replicate by-user status
2018-08-04 19:55:53 +02:00
Ettore Di Giacinto
ade89ee5fa Merge pull request #51 from Sabayon/ci
add .travis.yml
2018-08-04 19:23:54 +02:00
Sławomir Nizio
85174d39fa add .travis.yml
USERNAME is needed in lib/entropy/security.py.
Added support for ETP_TESTS_NONINTERACTIVE (and skipped one test).
2018-08-04 19:05:19 +02:00
Sławomir Nizio
3b7181d6c9 [solo.commands.rescue] factor out _SpmUserPackages 2018-07-30 09:11:50 +02:00
Sławomir Nizio
fb1f0f2d82 [solo.commands.rescue] fix usage of a wrong variable 2018-07-30 08:52:56 +02:00
Sławomir Nizio
e5db0d6b6e [solo.commands.rescue] use world file to replicate by-user status
Uses the newly introduced function in spm: get_user_selected_packages.
2018-07-30 08:49:17 +02:00
Sławomir Nizio
77a5071cf5 [entropy.spm] factor out __add_update_world_file 2018-07-30 00:11:29 +02:00
Ettore Di Giacinto
ebf470760c Tagging Entropy version 312 312 2018-07-11 18:10:27 +02:00
Ettore Di Giacinto
9e427b7c9b Release Entropy 312 2018-07-11 18:10:19 +02:00
Geaaru
b253340b64 Fix injection of packages with directory with spaces 2018-06-25 17:04:31 +02:00
Ettore Di Giacinto
c74aade5b9 Merge pull request #46 from Ryuno-Ki/sweden-mirror
Add mirror by Academic Computer Clib, Umeå University
2018-06-22 10:27:02 +02:00
Ettore Di Giacinto
d185e92d65 Merge pull request #48 from Ryuno-Ki/remove-dead-ftp-mirrors
Remove dead FTP mirror.
2018-06-22 10:26:44 +02:00
André Jaenisch
f47c3cb14e Remove dead FTP mirror. 2018-06-19 23:11:36 +02:00
Ettore Di Giacinto
dd36b7e8cd [rigo/po] Update translations 2018-06-03 09:25:39 +02:00
Ettore Di Giacinto
f63815cb79 [server/po] Update translations 2018-06-03 09:25:07 +02:00
Ettore Di Giacinto
920b2e9926 [client/po] Update translations 2018-06-03 09:24:27 +02:00
André Jaenisch
6832958ff4 Add mirror by Academic Computer Clib, Umeå University 2018-06-02 16:33:57 +02:00
Ettore Di Giacinto
0d990b5e27 Tagging Entropy version 311 311 2018-05-30 22:13:32 +02:00
Ettore Di Giacinto
1d6fde589e Release Entropy 311 2018-05-30 22:13:29 +02:00
Sławomir Nizio
1197966644 [entropy.client] fix install_sources saving
Examples of scenarios that are fixed:
- "package was installed by user" information was lost on package p1
  when p1 was pulled as update on "equo install p2";
- update was saving all packages as installed by user.
2018-04-17 12:38:43 +02:00
Enlik
d1fb352a6c Merge pull request #42 from rdnetto/fix-generate
Fix rescue generate

Results were written to the in-memory database instead of the file.
Effect of the revert is similar to what d89f15d ([solo.commands.rescue] fix "equo rescue generate") did and was later regressed.
2018-04-09 22:57:26 +02:00
Reuben D'Netto
2b532d4237 Use entropy_client.output() 2018-04-09 21:36:37 +10:00
Reuben D'Netto
2e6909f134 [solo.commands.rescue] Added a sanity check to ensure we're using the real database. 2018-04-09 20:42:46 +10:00
Reuben D'Netto
f9ff8cc305 Revert "[solo.commands.rescue] simplify "generate" code"
This reverts commit d856204a8d.
2018-04-09 20:42:46 +10:00
Enlik
955fcfbc48 Merge pull request #44 from geaaru/fix_ask_eit_inject
[eit] Add --quick option to inject command
2018-04-05 21:39:15 +02:00
Enlik
0d39b4449c Merge pull request #43 from Enlik/nonregex-dep-rewrite
Simpler dependency rewrite syntax
2018-04-05 21:23:17 +02:00
Geaaru
d36bef4f79 [eit] Add --quick option to inject command 2018-03-26 23:55:29 +02:00
Alexander "Ananace" Olofsson
dbbb7bd60e Add the Ctrl-C mirror (#39)
* Add the Ctrl-C mirror

* Correct URLs for entropy on the Ctrl-C mirror
2018-03-10 20:16:37 +01:00
Sławomir Nizio
cbcbf7495f [entropy.core] implement "drop all USE" in the new dep. rewrite 2018-02-24 19:52:12 +01:00
Sławomir Nizio
0a56ec74b8 [entropy.core,entropy.server] implement new dep. rewrite parser
It uses a simple rules without the need to use complex regexes. It is
not as powerful as the existing approaches so both are complementary.

For example, this:
    foo/bar (.*)app-crypt/pinentry(.*)\[gtk\] \1app-crypt/pinentry-gtk2\2
expresses the intention that can be expressed simpler:
    rewrite foo/bar from-dep=app-crypt/pinentry to-dep=app-crypt/pinentry-gtk2 if-dep-has-use=gtk drop-use=gtk
2018-02-24 19:35:44 +01:00
Sławomir Nizio
9e3f45f4c3 [entropy.server] simplify data container for dep_rewrite
Previously it has a dict with complex key (with the need to pack and
unpack it in places where it was used), and data was both part of the
keys and values.
It had the small advantage of removing duplicates, but changes for them
are very low and they are harmless anyway.
2018-02-24 18:49:43 +01:00
Sławomir Nizio
7635fb6d3b [entropy.server] create a simple abstration/interface for dep. rewrite 2018-02-24 18:47:29 +01:00
Ettore Di Giacinto
558630f16e Merge pull request #40 from geaaru/fix_ask_eit_commit
[eit] Fix pass of ask attribute on commit command
2018-01-16 10:09:13 +01: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
9bcf98ad0f Tagging Entropy version 310 310 2017-10-08 22:25:58 +02:00
Fabio Erculiani
8d0f16d9d5 Release Entropy 310 2017-10-08 22:25:58 +02:00
Fabio Erculiani
2d65d5b7bf [entropy.client] fix conflicts removal handling during upgrade.
In certain extreme situations, that are more likely if the install
state is old (e.g. 9 months +), Entropy may decide to remove packages
due to conflicts with the version being installed and shoot itself
in the foot, if this is the case of dev-lang/python :-).

So, this commit tries to avoid the scenario by filtering out package
removals for those that are being installed anyway as part of the
transaction (e.g. a system upgrade).

This should fix the very specific case, but increase uncertainty
and thus entropy in other cases where once a package that lists
conflicts is installed, it may not expect to find that package
installed. However, this case should be handled by the dependency
graph generator (and it currently does not), which would need to
reorder the execution of the queue to comply with conflicts.

Perhaps, someone in the future will improve that too, for now,
let's enjoy one more snowflake.

Current improvement:
- foo-1 and bar-2 are set to be installed
- foo-1 conflicts with <bar-2
- bar-1 is installed
- foo-1 wanted to remove bar-1 as part of foo-1 install transaction.
  (now fixed, it won't...)
- bar-2 is then installed

Better improvement:
- foo-1 and bar-2 are set to be installed
- foo-1 conflicts with <bar-2 (but bar-2 itself can be installed
  and does not conflict with foo-1)
- bar-2 is set to be installed before foo-1
- when entropy gets to foo-1 there is nothing to remove
2017-10-08 21:51:07 +02:00
Fabio Erculiani
18fa7ebf5d [RigoDaemon] fix typo in debug string name 2017-10-08 21:14:51 +02:00
Fabio Erculiani
57deded2a8 [magneto] fix typo in debug message :) 2017-09-11 08:18:03 +02:00
Fabio Erculiani
3dfd0cabff [magneto] s/applet_activated/_applet_activated/ 2017-09-11 08:17:33 +02:00
Fabio Erculiani
0088107ff3 Tagging Entropy version 309 309 2017-09-10 19:08:33 +02:00
Fabio Erculiani
330ffd1926 Release Entropy 309 2017-09-10 19:08:33 +02:00
Fabio Erculiani
8461cdaa98 [client/po] Update translations 2017-09-10 19:08:14 +02:00
Fabio Erculiani
a0b9dcb3a8 [app-admin/magneto] move magneto-gtk to use PyQt5 (ebuild needs to be updated) 2017-09-10 19:03:48 +02:00
Francesco Ferro
22797e28e0 Tagging Entropy version 308 308 2017-09-09 18:46:40 +02:00
Francesco Ferro
cac8ad2b29 Release Entropy 308 2017-09-09 18:46:39 +02:00
Fabio Erculiani
019d42c91f Merge pull request #38 from Sabayon/issue/fix-entropy-tag-sorting
[entropy.core] fix entropy tag sorting
2017-09-09 11:50:53 +02:00
Francesco Ferro
19a7a54dda [entropy.core] Remove nested function for natural sorting 2017-09-09 11:46:06 +02:00
Francesco Ferro
afbce1c169 [entropy.core] update tests for entropy tag sorting 2017-09-09 11:46:06 +02:00