Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-mgmt-salt-dom0-update


https://github.com/QubesOS/qubes-mgmt-salt-dom0-update

version 4.1.14

dbf352231f0cacdf83d2ec72611fea371938fc53 authored 9 months ago by Marek Marczykowski-Górecki <[email protected]>
Do not fail qubes.UpdateProxy fix on minimal templates

The /etc/qubes-rpc/qubes.UpdateProxy file doesn't exist in minimal
templates by default. Do not ...

f26dbe514fd550a47bea3f33b223a089c01088ee authored 9 months ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.13

1b6cf5e5703233d7e34a87d5cd269092ac93627e authored 10 months ago by Marek Marczykowski-Górecki <[email protected]>
Apply hotfix for #9025

Since the issue breaks updates, apply the fix via updater wrapper

QubesOS/qubes-issues#9025

de3220e1af68ec7a1ce2652f30c38a581640b96a authored 10 months ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.12

3c408b404a042a4a8be4f52e0f1e35d47778d346 authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/26'

* origin/pr/26:
Sync qubes_dom0_update.py with upstream yumpkg.py

cf45132cdba1c0d9b93420949b8a2ef76126d663 authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/22'

* origin/pr/22:
Avoid ugly state name

97fe82aa3388c08569749177a6f07cbdd704838a authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
Sync qubes_dom0_update.py with upstream yumpkg.py

Sync with 2478e75dcab97d056d7eabdd1844bb60a4b1b70d upstream.
This mostly consists of reformattin...

fd5ca64a1a16d7abdcd6e6342353df9bb162d0de authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.11

c0a71446214b98686a74c774ea4fdb2540f13af4 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Abort latest_version() if downloading pkg list fails

Previously it aborted only if some package was missing, but failed to
set 'updates' variable. Th...

7d69fa24fbfdf73aee0d47a488853632ad4503a2 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.10

0e61f94e9d9d5a833d78920a089045a26156e988 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Avoid using 'file' module in update.qubes-vm

The 'file' salt module is broken in Fedora 37. Until fix is packaged in
Fedora package, avoid us...

2059020e14748bd5e2208fb4d214a572a43327f0 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Running salt into VM is not planned

59720f0d1e52591ddc238dede2567e5f6a79d132 authored over 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Add Qubes Builder v2 integration

3a3cb9678d885a714e1999394198e5f97d2d6cb8 authored over 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Avoid ugly state name

cmd.run is for short commands, not long scripts. Use cmd.script
instead, which avoids printing ...

472895c279790cb75fe574d426bc53ac26fd932f authored over 2 years ago by Demi Marie Obenour <[email protected]>
version 4.1.9

eb5d9a523e35619f79cf8581d63603a976990137 authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/20'

* origin/pr/20:
Fix line buffering warning Temporary fix of the upstream salt bug with line bu...

2bf4d1933cecc6f68b49f2a8708fc5599c1e4494 authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Raise CommandExecutionError when a command fails

Otherwise the user will think the command has succeeded when it has not.

Fixes QubesOS/qubes-is...

0ed819b1534b137b4eedfb8a37a382c2b99d8509 authored over 2 years ago by Demi Marie Obenour <[email protected]>
Fix line buffering warning

Temporary fix of the upstream salt bug with line buffering warning (https://github.com/saltstack/...

608a092e66a521a16ffd55ff423147bd54a74af1 authored over 2 years ago by tzwcfq <[email protected]>
Drop Travis CI

3c21c9a87169993f7d2cf007e4dca0d08a2dbe89 authored over 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.8

50b3e2b0d1ede1e86973c46b8218f751283dd68a authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
spec: add BR make

QubesOS/qubes-issues#6982

20bd1973872c9e7531333702fd6a5d0a53dc11a2 authored about 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
Keep CVE-2021-20271 workaround on Fedora 32 and older

Instead of refusing to update. While Fedora 32 is EOL already, do not
break updates, as that's t...

4819df8e0edb5b22d5b2f61c812c29618cdaaf21 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.7

55bde4b21888cd72de886d5943359813baf0f6f8 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/16'

* origin/pr/16:
Disable deltarpm via Salt

976ff04594eb0a3651493d64acb31c605029b489 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
debian: automatically accept stable -> oldstable change

apt as released in initial debian-10 template, requires confirming the
repository change from st...

c31289f0099c96ece9c7500e028fe444e98e320e authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Drop CVE-2021-20271 mitigation

It isn't needed anymore with dnf >= 4.7.0, so drop it to avoid side
effects (inability to instal...

694c859f092b6aefd0714296ea5e84d098fe10ae authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Disable deltarpm via Salt

This disables deltarpm via Salt in Red Hat-based distros.

410e062ca00648f14f4b9217b1aee7d5306d08c4 authored over 3 years ago by Demi Marie Obenour <[email protected]>
version 4.1.6

2bc9e623f10a5613c5440e84d0787aa1ac788199 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Enforce signature check in RPM

Mitigate CVE-2021-20271 and similar issues, by telling RPM to always
check the signature (not ju...

df26be5721f40b8a5e5aad0dea814506ed7dbebb authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.5

b48325c6eee6a2c4680faa21c155fb3ccafc6bdf authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/14'

* origin/pr/14:
Avoid extra refreshes when updating dom0

3765d72db2efacaf285d439c4b20b2c2307eb087 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix package version regex

There can be also epoch prefix.

21e40bc3a7a4056eb7e9f321f1bf3a5a717a0b14 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Avoid extra refreshes when updating dom0

Salt doesn’t support this well at all. As a workaround, first refresh
the cache manually, then ...

a9c695a340f860f17859e5fb1fffb956ac802e7a authored almost 4 years ago by Demi Marie Obenour <[email protected]>
debian: dsa-4371 fix is not needed anymore

c6910c67e5228f4a6a0c3b4844461d45bbf5adf3 authored almost 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.4

b787b03b9e8f2c0f8e3029a862c5053ccca10d82 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: require new enough qubes-core-dom0-linux

Now that --console --show-output options are used, they need to be
supported.

6762612e55b158a30ccc5086e6ccd95f83b61d86 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'harden-pkginfo'

ff415f7e47c50eec5bed99aa7283ea77d2ac5a51 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Use qubes-dom0-update --console --show-output when output is desired

New qubes-dom0-update hides updatevm output unless those options are
added.

61deb212c8fa6b637b4dafbf9bd51ae6d9168b8d authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Strip color sequences from qubes-dom0-update output

`qubes-dom0-update` forces the output from updatevm to be red. This is
specifically because of `...

8040090f8cd3df237e014ff3bf3327b803f76b8b authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Sanitize qubes-dom0-update output

Replace non-printable characters with underscore, in case
qubes-dom0-update didn't done it alrea...

83e0b79ffebae53f61fae90f489e7b581fa1a553 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add extra validation of qubes-dom0-update output

The salt module do parse some of the output when querying repository
(things like listing availa...

fdb7f119c59dd7d141da9f5a69a402086a30b6d4 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Create the DNF cache with -y before upgrading

This imports the metadata signing keys.

851b152cc18078ff68059db68c9d38d19e9f3262 authored about 4 years ago by Demi Marie Obenour <[email protected]>
Add .gitlab-ci.yml

8851540259d3889185dfb6bde91332637021b682 authored about 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
Update travis

4bb78faaea4f1748158c962e3b236bfd1afb4c4e authored over 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.3

da2da9b953d5098584cb21d25a6de3b6514856a0 authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: require new enough qubes-core-dom0-linux

One that does support 'list' and 'search' actions.

QubesOS/qubes-issues#5252

aed8eb520fc8822f20ca6bec159b44cf8b5ab05e authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Drop states using 'onlyif' condition

This is broken in salt 3000 (saltstack/salt#56131) currently shipped in
Fedora 30. Since those s...

e32dc3f8aa8baa29a6f56da8c75234e2ee03d7e5 authored almost 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Invoke 'dnf list' remotely

This makes pkg.latest_version and pkg.list_upgrades work correctly
with repo parameters (fromrep...

0aa3cfdc9f0e485577adfc11b43defe57ff5ce4c authored almost 5 years ago by Paweł Marczewski <[email protected]>
travis: switch to dom0 Fedora 31

QubesOS/qubes-issues#5529

0aa8ddb5ee42d592f44962cc00f5e725d3bfacdd authored almost 5 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.2

455db1cef8d928c454d30b61eab39e4d14e84f0e authored about 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Re-run update status notification after the update

It may happen that no updates are available anymore (for example already
installed). In this cas...

4ae92f868f9561422ceaba89ab42658a0d7cb285 authored about 5 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: switch to bionic

QubesOS/qubes-issues#4613

da7f3537948923bf91879e69033c7f0f2a458865 authored about 5 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.1

708adaf3a6c5c01ca135a14a172bd04eca9020e0 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: update to R4.1

ca9d284c72645fa2e3bc06365fed40b9a9099008 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
fix list_upgrades method

Fixes 2f04b19 Update based on yumpkg from salt 2019.2

8b0a45935f6f081ee322392f3a6a7620c8891d11 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix handling buster in dsa-4371-update script

Fixes QubesOS/qubes-issues#5057

f65e7e263362f1fddf4c5f5fd56de0f651c58f89 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: switch to xenial, ignore irrelevant builds

QubesOS/qubes-issues#4613

3add5a4d656d696c32d4e68a2ff24585f29caf92 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Update onion repositories address

If onion repositories are enabled, rpm/dpkg will not replace repository
definitions and will sav...

51c90274bfef9e2681ae954db6dce59d3f3fd1e9 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Remove jessie-backports from stretch template

Remove it before performing an update, otherwise apt update fails.
It shouldn't be there in the ...

0de02c320601393f95bae166658abc7d1533a3e3 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.0

8ab08fd888c90061fecf99d7aea7a6dce6afdcf5 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
Update based on yumpkg from salt 2019.2

Multiple modules in salt.utils were split into separate submodules.

QubesOS/qubes-issues#4225

2f04b1911863198a935a88000c7c0e716580d9e9 authored over 5 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.6

18eb012efa4ad5d140656f3ab2e9afde12ce0642 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Workaround for dnf not refreshing metadata cache

Salt's pkg.uptodate use 'dnf clear expire-cache' to force metadata cache
expire, but unfortunate...

17753eccb6020d622e592bb369d77e3ac7cb19e5 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.5

489179114e6298f463d9ad34a697f11f667a08c0 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Rename update/vm.sls to update/qubes-vm.sls to avoid conflicts

This name needs to be unique among all the states. update/vm.sls may be
too common (especially a...

87639c91b842615da3f025899ce46250f85c9a81 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Use dsa-4371-update script instead of non-declarative states

The DSA-4371 update procedure, as written with plain states is not
really declarative. If for no...

18fb694dd8092de19f2121c173f7e38376f01e6f authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Include update.vm state in the package.

This is the first state shipped by this package, so adjust FORMULA file
accordingly.

QubesOS/qu...

a7a3e52ea3bc93f29b1cc91f3e86349c90b3911b authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add state that apply DSA-4371-1 fix safely

Update libapt-pkg* with redirects disabled.

QubesOS/qubes-issues#4752

67122991f1efe7d7594929ff9b49cb9184e16cf5 authored almost 6 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.4

021b4de22e84f1b248b568f09ba32e72fb06777c authored about 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix handling pkg.upgrade refresh=True

Not only clean local cache, but also the one in updatevm.

31e218e20a93d277a932eac84500b101cfc94af0 authored about 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix pkg.upgrade for dom0.

QubesOS/qubes-issues#2718

38103273f16324bc6167257b4ebf9447fcb5852f authored about 6 years ago by Marek Marczykowski-Górecki <[email protected]>
spec.in: add changelog placeholder

9c851ac73179aeb25f4ba7c0328072d42b2b3fb5 authored over 6 years ago by Frédéric Pierret <[email protected]>
Create .spec.in and Source0

17d56fa58d90075a2f5eb379ce58de0d49cf143c authored almost 7 years ago by Frédéric Pierret <[email protected]>
version 4.0.3

ef14fc907e3d975d0a5d4fc68df071822faac7e5 authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not try to enable/disable repositories in dom0

Dom0 have only one repository - synthetic one, built from packages
downloaded by updatevm. If cl...

cdcdf0a052567e657677fb32b5f95b234aeed635 authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.2

201177eb2e2f2037e5b885c45115391cb0fd193d authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
update qubes_dom0_update.py based on yumpkg.py from salt-2017.7.1

Sync with the salt version used in fc25-based dom0. The direct reason
for this change is API inc...

467fca58239ccba87785b5f08a90622c4dfe7081 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.1

2678286a070a399646c65317b64eb32a69fc1689 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Drop expand_repo_def function

This module doesn't really need to do anything to repo definition. And
since it is optional, dro...

3e68be21bfcd00202aaf0202b3111f3a28be2fb0 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.0

06f1f1eb25c95ea30978e3f1d60c6abbc9a9f882 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: update for Qubes 4.0

603943d99e3075fe4c9ba7c79eda2922501ca2be authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: drop debootstrap workaround

Move to qubes-builder

Signed-off-by: Marek Marczykowski-Górecki <[email protected]>

e8defbe66b3daa3b959e99f9da2b0283f787bef5 authored almost 8 years ago by Marek Marczykowski-Górecki <[email protected]>
version 3.2.0

ce7d33063e2cb8184ec82f8fd2f499106ba5e65a authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
install: make refresh=True effective

Just updating dom0 metadata cache isn't enough, because it's only about
loading cached offline r...

7a576114ffa5867c6da2ccce449e3b4483bf514e authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
make static analysis happy

Salt inserts some dictionaries into local namespace, but static analysis
tools don't know that.

b30ae4165ef1ac5f458ebaa1cdb091f9d1e2d989 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
list_upgrades: download packages and populate dom0 metadata

Dom0 doesn't have direct access to (online) repository metadata and
since most of Fedora reposit...

1d6f7d5daa59f529c7eae69d9c131c7912b01f62 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Handle downgrade and reinstall options of pkg.install

a0763ea1e46e029f0416d90cd31ae2b54e8bce44 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
update qubes_dom0_update.py based on yumpkg.py from salt-2015.5

This is mostly to better support DNF. Although most of the commands are
unusable on Qubes dom0 b...

0321c395bcab3ac9bdaac50056bf406cb7b428d3 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Drop 'state.sls config' call

It isn't used anymore

QubesOS/qubes-issues#2048

6b9df44745be1a7bceb6b977146eda94ca968120 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: initial version

QubesOS/qubes-issues#1926

21360893327b9bb2a66e7392b1434786865c8d61 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
version 3.0.2

a9ae6aa729808da7cb8bd3a7c9a622b2870477c3 authored almost 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge tag 'jm_babd2ef2'

Tag for commit babd2ef263eb8915c2e3f803d44d8494bf428610

# gpg: Signature made Wed 23 Dec 2015 1...

340d0d6e7b888df64a492d0623bbd8a5c776933a authored almost 9 years ago by Marek Marczykowski-Górecki <[email protected]>
debian: Fix broken "state.sls config" statement

babd2ef263eb8915c2e3f803d44d8494bf428610 authored almost 9 years ago by Jason Mehring <[email protected]>
FORMULA: Use Makefile VARS for formula_dir, etc and re-ordered fields

Fields were re-ordered putting ones that may be changed more often near the top

661f80e9502d6cc17636467c56205972dab12262 authored about 9 years ago by Jason Mehring <[email protected]>
Makefile: Added a few formatting line feeds

673d5df9a688b2d1f70b197b34ea78774b6f6289 authored about 9 years ago by Jason Mehring <[email protected]>
rpm: Fix typo

f2f1c74d6680d79fe52378005e2efedb992377d8 authored about 9 years ago by Jason Mehring <[email protected]>
version 3.0.1

34c5bb865fba0f1883427f76e828bd7112741579 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: set package release to static value

It doesn't make sense to have other release numbers when we are in
control over actual package v...

c3a8f1c76fda67173b40355508f1f4a00345ccb9 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
makefile: add comments about files placed by mgmt-salt builder plugin

c89e97d7ae1750c1573a361c88a5f05eb994f550 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>