Skip to content

Commit

Permalink
Merge pull request #1 from sailfishos/update_125
Browse files Browse the repository at this point in the history
Update to 1.2.5. JB#52079
  • Loading branch information
pvuorela authored Nov 3, 2022
2 parents dc6edb8 + 557e6d8 commit 46d84f8
Show file tree
Hide file tree
Showing 308 changed files with 55,168 additions and 85,090 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# See https://editorconfig.org/
root = true

[*]
end_of_line = lf
trim_trailing_whitespace = true
charset = utf-8

[*.{c,h}]
indent_style = tab
indent_size = 8

[*.cpp]
indent_style = space
indent_size = 4

[*.sh]
indent_style = space
indent_size = 4

[*.xml]
indent_style = space
indent_size = 4

[meson.build]
indent_style = space
indent_size = 4
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and Test

on: [push, pull_request]

jobs:
build_and_test:
runs-on: ubuntu-latest

strategy:
matrix:
distro:
- fedora
- debian
fail-fast: false

steps:
- uses: actions/checkout@v2
- run: docker build -t packagekit-${{ matrix.distro }} -f tests/ci/Dockerfile-${{ matrix.distro }} .
- run: docker run -t -v `pwd`:/build packagekit-${{ matrix.distro }} ./tests/ci/build_and_test.sh -Dpackaging_backend=dnf
if: ${{ matrix.distro == 'fedora' }}
- run: docker run -t -v `pwd`:/build packagekit-${{ matrix.distro }} ./tests/ci/build_and_test.sh -Dpackaging_backend=aptcc
if: ${{ matrix.distro == 'debian' }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@ Richard Hughes <[email protected]>
Tom Parker <[email protected]>
Ken VanDine <[email protected]>
Matthias Klumpp <[email protected]>
Neal Gompa <[email protected]>

Backend: alpm
Aleix Pol i Gonzàlez <[email protected]>
Fabien Bourigault <[email protected]>
Jonathan Conder <[email protected]>

Backend: dnf
Richard Hughes <[email protected]>
Neal Gompa <[email protected]>

Backend: pisi
S.Çağlar Onur <[email protected]>

Expand Down
83 changes: 0 additions & 83 deletions Makefile.am

This file was deleted.

182 changes: 182 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,185 @@
Version 1.2.5
~~~~~~~~~~~~~
Released: 2022-02-17

Backends:
- alpm: adapt to changes in db updates and total cb calling (Carsten Haitzler)
- alpm: adapt to changes in setting arch config - now a list (Carsten Haitzler)
- alpm: Also mark single ignored matches as blocked (Aleix Pol)
- alpm: Do not call dlcb completed explicitly (Aleix Pol)
- alpm: fix apparent lack of braces in if clause (Carsten Haitzler)
- alpm: fix bug waiting to happen with cast from ptr to boolean (Carsten Haitzler)
- alpm: fix change in alpm_option_set_logcb to add ctx pointer (Carsten Haitzler)
- alpm: fix changes in alpm_option_set_fetchcb to add ctx (Carsten Haitzler)
- alpm: fix get-update-detail which uses totally wrong list of strings (Carsten Haitzler)
- alpm: fix get-updates (Jan Blackquill)
- alpm: fix missing handling of hookdir in pacman.conf (Carsten Haitzler)
- alpm: fix uninitialized stack vars used later in config (Carsten Haitzler)
- alpm: fix warning about fallthrough - be explicit about it (Carsten Haitzler)
- alpm: fix warning of casing ptr to gboolean - this is problematic (Carsten Haitzler)
- alpm: fix warning to keep local var declarations c99 consistent (Carsten Haitzler)
- alpm: handle configuration 'NoProgressBar' (Antonio Rojas)
- alpm: have pk_alpm_update_databases() return meaningful information (Aleix Pol)
- alpm: Offer the database we create when updating (Aleix Pol)
- alpm: Properly check if upgrades is set (Aleix Pol)
- alpm: remove unused error PK_ERROR_ENUM_REPO_NOT_FOUND (Carsten Haitzler)
- alpm: set the status of the job (Aleix Pol)
- alpm: silence warning for gool to ptr conversion with a cast (Carsten Haitzler)
- alpm: Support replaces with version expressions (Aleix Pol)
- alpm: update to breaking changes in transactions (Carsten Haitzler)
- aptcc: Allow PkgList to track additional state per package (Matthias Klumpp)
- aptcc: Apply auto/manual state from previously resolved pkgids when needed (Matthias Klumpp)
- aptcc: Attempt to fix broken packages again when system repair is requested (Matthias Klumpp)
- aptcc: correctly lists all the available package versions .. (liushuyu)
- aptcc: Display an excerpt of dpkg's log on error instead of not failing at all (Matthias Klumpp)
- aptcc: Emit only the first, likely highest-quality error when dpkg fails (Matthias Klumpp)
- aptcc: fix a bug where downgrade is not working .. (liushuyu)
- aptcc: Only set locale from job if we are not on Debconf passthrough (Matthias Klumpp)
- aptcc: Propagate install mode info in all emitted package-IDs (Matthias Klumpp)
- aptcc: return local file listings in the same format as installed ones (Matthias Klumpp)
- dnf: Add support for autoremove flag when removing packages (Neal Gompa)
- dnf: Searches by name and package details should be case insensitive (Matias De lellis)
- dnf: Update appstream xml files if dnf_sack_add_repos() does the download (Owen W. Taylor)
- nix: remove g_assert_not_reached (Matthew Bauer)
- nix: Update backend to use Nix Flakes (#414) (Matthew Bauer)
- slack: Add bzip2 and sqlite3 dependencies (Eugen Wissner)
- zypp: Add -std=c++1z cpp flags (Jonathan Kang)
- zypp: Fix crash when search string is NULL (Jonathan Kang)
- zypp: Fix package installation using undefined data (Pekka Vuorela)

Bugfixes:
- Install offline-update enablement symlink if Meson is new enough (Matthias Klumpp)
- Move Wants= line for network-online.target (Erich Eickmeyer)
- Add flags to D-Bus offline invoking methods (Milan Crha)
- Properly handle allow-reinstall flag for installations (Matthias Klumpp)
- Provide better error message if trying to install an installed package (Matthias Klumpp)
- Wait until online to activate systemd service (Erich Eickmeyer)

Version 1.2.4
~~~~~~~~~~~~~
Released: 2021-07-30

Notes:

Libraries:
- Add specific error code when user declined interaction (Milan Crha)
- Avoid spurious GObject::notify signal emissions (Philip Withnall)
- Correct 'cancellable' use in pk_client_repair_system_async() (Milan Crha)
- Fix a leak on calling set_locale() a second time (Philip Withnall)
- Fix a possible use-after-free under pk_client_cancel_cb() (Milan Crha)
- Improve thread safety on an operation cancellation (Milan Crha)

Backends:
- dnf: Read update information also when getting list of updates (Milan Crha)
- dnf: honor install_weak_deps=False if it is there (Dario Faggioli)
- dnf: Use 'hy_query_get_advisory_pkgs', if available (Milan Crha)

New Features:
- PkDetails: Add 'download-size' property (Milan Crha)
- PkPackage: Add update severity property (Milan Crha)

Bugfixes:
- Let the finish understand the 'cancelled' exit code (Milan Crha)
- Make backends that use pk-backend-spawn work (#477) (Ivan Zakharyaschev)
- Only set polkit interactive flag if method call has too (Philip Withnall)

Version 1.2.3
~~~~~~~~~~~~~
Released: 2021-03-22

Backends:
- alpm: Add post transaction hook (Vlad Zahorodnii)
- alpm: Rename errno to alpm_err to avoid name clashes (Richard Neumann)
- aptcc: Auto-remove old kernels, unless configured otherwise (Matthias Klumpp)
- dnf: Add support for coercing upgrade to distupgrade (Neal Gompa)
- zypp: Make sure pool is initialized at the beginning of some methods (Jonathan Kang)
- zypp: Reset update mode after getting updates (Jonathan Kang)

Bugfixes:
- Append to cron log instead of overwriting it (realsobek)
- Cancel a transaction if calling Cancel fails or the daemon disappears (Philip Withnall)
- Do not crash when calling pk_dbus_get_uid() before D-Bus is setup (Richard Hughes)
- Fix all compiler warnings (Matthias Klumpp)
- Fix multilib conflicts in generated pk-enum-types.h (Kalev Lember)
- Free scheduler array correctly again (Matthias Klumpp)
- Remove large transaction size sanity check (Nate Graham)

Version 1.2.2
~~~~~~~~~~~~~
Released: 2020-11-02

Backends:
- aptcc: Build socket-activated debconf helper again (Matthias Klumpp)
- aptcc: Do not trust local debs (CVE-2020-16122) (Julian Andres Klode)
- aptcc: Drop apt-inst, use apt-pkg pkg-config file for dependency detection (Matthias Klumpp)
- zypp: Don’t refresh repos again when actually updating packages (Jonathan Kang)
- zypp: Erase tmp repo from pool after local installation (#409) (Rinat Dobrokhotov)
- zypp: Set PATH variable (Jonathan Kang)

New Features:
- Notify the service manager when it's beginning to shutdown (Jonathan Kang)

Bugfixes:
- Fix possible information disclosure [CVE-2020-16121] (Julian Andres Klode)
- Install required test helper files (Neal Gompa)
- Silence meson warning by bumping minimum version (Matthias Klumpp)

Version 1.2.1
~~~~~~~~~~~~~
Released: 2020-09-07

Backends:
- alpm: Fix paths for configuration files (Christian Hesse)
- alpm: Pass correct type to pk_alpm_transaction_initialize() (Christian Hesse)
- alpm: Synchronise syncdbs on update (#400) (jan Pontaoski)
- dnf: Add vendor configuration for openSUSE (Neal Gompa)
- zypp: Clean up temporary files when PK quits (Jonathan Kang)
- zypp: Ensure ResPool is built before is_tumbleweed() (Jonathan Kang)

Bugfixes:
- Actually merge in the PolicyKit translation (Richard Hughes)
- Fix setting libexecdir for command-not-found helper (Elliott Sales de Andrade)
- Fix command-not-found handling arguments with spaces (Fernando Herrera)
- Use SQL statements for queries with input (Juho Hämäläinen)
- Exit pkcon with retval 5 if no packages needed be installed (Dominique Leuenberger)

Version 1.2.0
~~~~~~~~~~~~~
Released: 2020-05-04

Backends:
- alpm: Fix assertion failures for download start signals (Felix Yan)
- alpm: Fix config parsing for DisableDownloadTimeout (Felix Yan)
- alpm: Handle blank target name for progress cb (Carson Black)
- alpm: Improve dlcb handling (Carson Black)
- alpm: Respect ignored packages on update (#390) (jan Pontaoski)
- alpm: Sync with the latest libalpm (Dominik Opyd)
- alpm: Updates-changed implementation (Carson Black)
- alpm: Use separate alpm_handle_t for updates (Carson Black)
- aptcc: Add libutil to linker args (David Hewitt)
- aptcc: Do not emit PK_ERROR_ENUM_GPG_FAILURE (Julian Andres Klode)
- aptcc: Include helper socket/service when making release tarball (Matthias Klumpp)
- aptcc: Only report errors if there are errors (Julian Andres Klode)
- aptcc: Set locale env vars properly according to frontend request (Matthias Klumpp)
- aptcc: Use pk_backend_convert_uri on proxy settings (David Hewitt)
- dnf: Load all the repos and vars directories (Neal Gompa)
- Make pk_alpm_update_database a nullop without force (Carson Black)
- pisi: Remove unmaintained backend (Richard Hughes)
- ports: Remove unmaintained backend (Richard Hughes)
- urpmi: Remove unmaintained backend (Richard Hughes)
- yum: Remove unmaintained backend (Richard Hughes)
- zypp: Ignore already installed package when installing (Jonathan Kang)
- zypp: Remove upgrade-system implementation (Jonathan Kang)

New Features:
- Port to the meson build system (Corentin Noël and many others)
- Remove the GTK2 gtk-module support (Richard Hughes)

Bugfixes:
- Do not do failable actions in the PkDbus constructor (Richard Hughes)
- Do not do failable actions in the PkTransaction constructor (Richard Hughes)
- Revert "Shutdown the daemon on idle by default" (Michael Catanzaro)

Version 1.1.13
~~~~~~~~~~~~~~
Released: 2020-01-08
Expand Down
8 changes: 5 additions & 3 deletions README.sailfishos
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ New versions
Updating to new upstream version
--------------------------------

git checkout -b jb12345_update_upstream PACKAGEKIT_1_1_14
git merge --strategy ours master -m "Reset master to tag 'PACKAGEKIT_1_1_14'"
Have upstream git remote set and fetch from there.

git checkout -b jb12345_update_upstream PACKAGEKIT_NEW_VERSION
git merge --strategy ours master -m "Reset master to tag 'PACKAGEKIT_NEW_VERSION'"
git checkout master
git branch -f master-archived
# target is either previous reset to upstream commit or PACKAGEKIT_1_1_14 if
# target is either previous reset to upstream commit or PACKAGEKIT_NEW_VERSION if
# doing this the very first time
git rebase -i --onto jb12345_update_upstream <target>
git push sailfish -u jb12345_update_upstream
Loading

0 comments on commit 46d84f8

Please sign in to comment.