Sasa Ostrouska | 8 Dec 16:49 2014
Picon

Re: Fix show percentage in Katja backend during download



On Mon, Dec 8, 2014 at 12:24 PM, Eugen Wissner <belka.ew-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,



That's what you use ItemProgress for - the UI is free to show the item
progress or not though, so maybe your PK client just doesn't display
that information?

I have not looked at all at this option of the ItemProgress, will take a look at it. 

Not everything about percentage works in Slackware backend so well... It is actually my fault, I've implemented the main functionality but there are a lot of stuff that should be added/made better and that I intended to do later. I haven't worked on the backend for a long time now (I have another Slackware-Gnome project) but I still know what is missing and look for some time to do a better work. Richard said, he would remove backends that don't implement some old basic functions ;) and I don't want it. Anyway thanks to Sasa for the patches, it is a good reason to start the work again :)

Eugene, I'm here to help make it better, have all the interest to use it , but so far for me the priorities in the Katja are make it use of the downloaded stuff, and for sure before that the md5sum checking.
The patches I sent are just after a quick look into the thing after it annoyed me for a long time. Unfortunately my time is scarse but will do my best to submit patches for what I need in Katja.

Rgds
Saxa

Eugene

_______________________________________________
PackageKit mailing list
PackageKit-PD4FTy7X32lMiVNPc3mojA@public.gmane.orgsktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit


_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Sasa Ostrouska | 8 Dec 01:52 2014
Picon

Fix show percentage in Katja backend during download

Hi, I made a small change to the Katja backend to show the correct percentage during the downloading of the packages.

I believe that dividing by 2 the total tasks and have the percentage shown when downloading up to 50% and when installing the other part from 50% up to 100% is wrong. IMHO this should show the completing of the task and not of all the tasks.

See the attached patch if you want to include it.

Rgds
Saxa


_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 10 Nov 18:35 2014
Picon

PackageKit 1.0.3 released!

Version 1.0.3
~~~~~~~~~~~~~
Released: 2014-11-10

Libraries:
 - glib: Add support for reinstallation and downgrades (Michal Minar)

Backends:
 - hif: Add support for reinstall and downgrade (Michal Minar)
 - hif: Use hif_context_set_vendor_cache_dir() to be smarter about the
vendor cache (Richard Hughes)
 - hif: Use repo loader provided by the context (Michal Minar)
 - zypp: Improve progress status (Dominique Leuenberger)
 - zypp: propagate install errors to PK (Dominique Leuenberger)
 - zypp: Remap 'recommended' patches to 'BUGFIX' (Dominique Leuenberger)

New Features:
 - Add reinstall and downgrade support to pkcon (Michal Minar)

Tarballs available here:
http://www.freedesktop.org/software/PackageKit/releases/

Richard.
_______________________________________________
PackageKit mailing list
PackageKit <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
Richard Hughes | 21 Oct 14:28 2014
Picon

PackageKit 1.0.1 released!

Version 1.0.1
~~~~~~~~~~~~~
Released: 2014-10-21

Backends:
 - alpm: Environment initialization refactoring (Fabien Bourigault)
 - alpm: Fix a few potential double-frees (Richard Hughes)
 - hif: Invalidate offline updates when the rpmdb changes (Kalev Lember)
 - urpmi: Implement filter_application (Thierry Vignaud)
 - urpmi: Implement filter_download (Thierry Vignaud)
 - zypp: Be more specific with the progress status messages (Dominique
Leuenberger)
 - zypp: Ensure to reach 100% on complete cache_refresh (Dominique Leuenberger)
 - zypp: Fix compiler warning (Dominique Leuenberger)

New Features:
 - Add a KeepCache config parameter (Richard Hughes)

Bugfixes:
 - Do not install the python helpers unless required (Richard Hughes)
 - Don't assume systemd is found if --with-systemdsystemunitdir is
passed (Matthias Klumpp)
 - Fall back to /usr/lib/os-release if /etc/os-release does not exist
(Richard Hughes)
 - Fix compile when the systemd headers are not located in
/usr/include (Richard Hughes)
 - Never allow cancelling a transaction twice (Richard Hughes)
 - Overwrite an existing link for packagekit-offline-update.service
(Dominique Leuenberger)

Tarballs available here: http://www.packagekit.org/releases/

Richard.
Sasa Ostrouska | 14 Oct 10:06 2014
Picon

PK on Slackware auto restores default packages

Hi !

I have a question but I'm not sure if this is the right place to ask. I'm using the PackageKit on gnome3 with Katja backend. Everything works as expected but the problem is that now its already the second time it restored the default packages on my slackware machine.

I'm working on the new gnome 3.14 desktop and the packages I have replaced to update them what gnome needs (Slackware 14.1 ships quite some old stuff in this moment for gnome 3.14). What happens is that without any command or any action it simply decides and reinstalls the replaced packages. This does not happen on a daily basis but it happened only one time right now on this new machine.

Question: Is there a way to make ask PK before it wants to do this automatic restoring of the system ?

If yes, how should I configure or what exactly runs this ?

Any help really appreciated.

Rgds
Saxa

<div><div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi !<br><br>
</div>I have a question but I'm not sure if this is the right place to ask. I'm using the PackageKit on gnome3 with Katja backend. Everything works as expected but the problem is that now its already the second time it restored the default packages on my slackware machine.<br><br>
</div>I'm working on the new gnome 3.14 desktop and the packages I have replaced to update them what gnome needs (Slackware 14.1 ships quite some old stuff in this moment for gnome 3.14). What happens is that without any command or any action it simply decides and reinstalls the replaced packages. This does not happen on a daily basis but it happened only one time right now on this new machine.<br><br>
</div>Question: Is there a way to make ask PK before it wants to do this automatic restoring of the system ?<br><br>
</div>If yes, how should I configure or what exactly runs this ?<br><br>
</div>Any help really appreciated.<br><br>
</div>Rgds<br>
</div>Saxa<br><br>
</div></div>
gregory battaglia | 22 Mar 18:47 2014
Picon

GUI Functionality issues

  Hi:

I am a total newbie to almost everything Linux, having spent the last 11 years in Windows XP.
I have Fedora 18, which, as you may know, is now at EOL and so there's probably no new updates.
However, Software Install does show a lot of downloadable  stuff in its various categories.

But here's where it's functionality seems in question. For example, in Games, I highlighted this one game
package that Iwanted to delete called "Greyhounds..." by clicking the little box next to it to get the check
mark. Then I clicked on Remove Package. Then I clicked Apply Changes. Then I clicked Exit. But when I
went back to Software Install to verify the deletion, "Greyhounds..." was still listed. Why is this?

And what does the blue + over the box mean?

Please advise, but know that I can't do know how to read or write any coded expressions.
All I know is how to operate a GUI with mouse clicks. I realize this is blasphemy in the GNU
community, but I wish that Linux variants like Fedora with Gnome desktop were more GUI
and less

Thanks

Greg
<div><div dir="ltr">&nbsp; Hi:<br><br>I am a total newbie to almost everything Linux, having spent the last 11 years in Windows XP. <br>I have Fedora 18, which, as you may know, is now at EOL and so there's probably no new updates. <br>However, Software Install does show a lot of downloadable&nbsp; stuff in its various categories. <br><br>But here's where it's functionality seems in question. For example, in Games, I highlighted this one game<br>package that Iwanted to delete called "Greyhounds..." by clicking the little box next to it to get the check<br>mark. Then I clicked on Remove Package. Then I clicked Apply Changes. Then I clicked Exit. But when I<br>went back to Software Install to verify the deletion, "Greyhounds..." was still listed. Why is this?<br><br>And what does the blue + over the box mean?<br><br>Please advise, but know that I can't do know how to read or write any coded expressions. <br>All I know is how to operate a GUI with mouse clicks. I realize this is blasphemy in the GNU <br>community, but I wish that Linux variants like Fedora with Gnome desktop were more GUI<br>and less <br><br>Thanks<br><br>Greg<br>
</div></div>
Frédéric WANG | 29 Apr 23:02 2014
Picon

FontConfig iso15924 tag for autoinstallation via PackageKit

Dear FontConfig & PackageKit developers,

I've recently worked on automatic font installation in Gecko-based 
applications using PackageKit [1]. The current patch to add 
notifications for missing glyphs in Gecko relies on script tags as 
defined in iso15924 [2] [3]. So it would help if fontconfig & PackageKit 
would be able to handle some metadata for these script tags, for example 
:script=Khmr. Also, I'm interested in automatic installation of math 
fonts, so it would be important to support the code "Zmth=Mathematical 
notation" too.

Thanks,

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=467729
[2] http://www.unicode.org/iso15924/iso15924-codes.html
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=619521

--

-- 
Frédéric Wang
MathML Crowdfunding: ulule.com/mathematics-ebooks
Richard Hughes | 10 Oct 17:13 2014
Picon

PackageKit-Qt 0.9.5 released!

Version 0.9.5
~~~~~~~~~~~~~
Released: 2014-10-10

New Features:
 - Add operator== to bitfield (Daniel Nicoletti)

Bugfixes:
 - Deprecate ::packageIcon methods (Aleix Pol)
 - Disable namespacing and classes names on the generated interfaces
(Daniel Nicoletti)
 - Don't assume the target is packagekitqt5 (Aleix Pol)
 - Fix compilation due to not-set cmake variable (Matthias Klumpp)
 - Fix documentation (Aleix Pol)
 - Fix QPK include dir in cmake module (Matthias Klumpp)
 - Properly export cmake targets (Aleix Pol)
 - Remove daemon proxy conection to changed() (Daniel Nicoletti)
 - Remove RoleUpgradeSystem as it's not supported in 0.9.x anymore
(Daniel Nicoletti)
 - Remove the metatype registration for Transaction types (Daniel Nicoletti)
 - Support RPATH by default (Aleix Pol)
 - Use GNUInstallDirs to determine most of used variables (Hrvoje Senjan)
 - Use "PackageKit" as the include namespace rather than the library
name (Aleix Pol)

Tarballs available here: http://www.packagekit.org/releases/

Richard.
Kevin Kofler | 14 Sep 17:40 2014
Picon

hif backend: keepcache

Hi,

are we setting hif_context_set_keep_cache from a config file anywhere? (I 
could not find it anywhere in the code.) We really should (unless we default 
it to TRUE), especially considering that Fedora mirrors do not carry older 
updates and thus the local cache is the ONLY way to find older versions of 
packages to downgrade to (except the often really old and useless version 
from the GA release) in case of a problem.

If we do not have any such config setting yet, I would like to add one. What 
is the best place? Should we try to honor dnf.conf for this kind of 
settings? (Advantage: One has to set up this kind of things only once. 
Drawback: It is not obvious that PackageKit-hif honors DNF settings, and 
which ones.) Or should I add a setting somewhere to the PackageKit 
configuration?

I think not having an option to keep cached packages even after a successful 
transaction is a major data loss issue (as it deletes data that will no 
longer be available online when potentially needed, see above) that makes 
PackageKit-hif unusable for me, and I would really like to not have to 
rebuild PackageKit with a 1-line patch each time it gets upgraded just to 
change this setting. So having it configurable somewhere is important to me. 
And I suspect there are other users also thinking this way. So please tell 
me where to best put the setting.

Kind regards,
        Kevin Kofler

Richard Hughes | 12 Sep 14:11 2014
Picon

PackageKit 1.0.0 released!

Version 1.0.0
~~~~~~~~~~~~~
Released: 2014-09-12

Notes:
 - After over 7 years, 99 tarball releases and 11697 commits from 284
people we've finally released the first stable version. Woohoo!

 - I wanted to sent out a heart-felt thank you to all the people who
have contributed to the success of this project. I couldn't have done
it on my own and quite a few people were more important than they
realize.

 - Now, onto more practical aspects. These are the big changes for this release:

  * The offline update functionality has moved to a proper D-Bus
interface and the pkexec helpers have been removed. Offline updates is
an important feature that no longer deserves to be bolted-on. All the
existing users have been ported to the new interface, but you need
3.13.92 if you're running GNOME from unstable or jhbuild.

  * No more plugins. Both in-tree and out-of-tree plugins were the
biggest source of crashes, and with the systemd offline updates merged
into the core daemon they are just not reuired anymore. All affected
projects have been notified.

  * No more conary, opkg, smart or yum plugins. These have been
unmaintained and broken for over two years, so time to give them the
heave-ho.

  * The alpm, aptcc, hif and zypp plugins have had lots of love, and
are up to date with the latest features and working well.

Backends:
 - alpm: Add APPLICATION filter (Fabien Bourigault)
 - alpm: Add DOWNLOADED filter for get-updates (Fabien Bourigault)
 - alpm: Correctly namespace files and symbols (Richard Hughes)
 - alpm: Don't crash when emitting the update details URLs (Richard Hughes)
 - alpm: Don't set the cancellable or status before finished (Richard Hughes)
 - alpm: Honor cache age while refreshing repos (Fabien Bourigault)
 - alpm: Honor only download flag for update packages (Fabien Bourigault)
 - alpm: Use a helper structure for backend data (Richard Hughes)
 - alpm: Use the system database rather than the one in the prefix
(Richard Hughes)
 - aptcc: Link against -lutil for forkpty (Colin Watson)
 - conary: Remove the Conary backend (Richard Hughes)
 - hif: Make the lock dir respect the DESTDIR (Richard Hughes)
 - hif: Remove some unused functions (Richard Hughes)
 - hif: Use a real path for hy_sack_create() (Richard Hughes)
 - hif: Use hif_source_commit() for new versions of the library (Richard Hughes)
 - hif: Use the cached metadata if available (Richard Hughes)
 - katja: Fix repository initialization flaw (Eugene Wissner)
 - opkg: Remove the opkg backend (Richard Hughes)
 - smart: Remove the SMART backend (Richard Hughes)
 - yum: Remove the yum backend (Richard Hughes)
 - zypp: Add APPLICATION filter support (Dominique Leuenberger)
 - zypp: Add DOWNLOADED filter support (Dominique Leuenberger)
 - zypp: Update to build with PK 0.9.x (Dominique Leuenberger)

New Features:
 - Add a D-Bus interface and helpers for offline support (Richard
Hughes, Kalev Lember)
 - Add a repo-set-data command to packagekit-direct (Richard Hughes)
 - Add a simple script that generates some offline metadata (Richard Hughes)
 - Add pk_backend_job_get_cancellable() (Richard Hughes)
 - Add pk_backend_job_is_cancelled() (Richard Hughes)
 - Add pk_backend_set_user_data() (Richard Hughes)
 - Add pk_offline_get_prepared_sack() and use it in the
systemd-updates plugin (Richard Hughes)
 - Remove pk-debuginfo-install (Richard Hughes)
 - Remove support for distros not supporting /etc/os-release (Richard Hughes)
 - Remove the --enable-systemd-updates configure switch (Richard Hughes)
 - Remove the events/pre-transaction.d functionality (Richard Hughes)
 - Remove the pkexec systemd helpers (Richard Hughes)
 - Remove the plugin interface (Richard Hughes)
 - Remove various options from the config file (Richard Hughes)

Bugfixes:
 - Automatically do pk_backend_job_finished() for threaded backends
(Richard Hughes)
 - Do not shutdown the daemon on idle by default (Richard Hughes)
 - Fix compile of the ConnMan network support (Richard Hughes)
 - Fix packagekit-offline-update.service generation (Kalev Lember)
 - Increase the default transaction limits (Matthias Klumpp)
 - Prefer npapi-sdk over mozilla-plugins (Dominique Leuenberger)
 - Refresh the NetworkManager state when the daemon starts (Richard Hughes)

Tarballs available here: http://www.packagekit.org/releases/

Richard.
Richard Hughes | 9 Sep 17:13 2014
Picon

Moving to github

Hi all,

I'm planning to move the repo to github soon. If you want commit
access on the github PackageKit project, please can you tell me your
gitorious name, and your github username. e.g. I would reply to this
email with:

gitorious: rhughes
github: hughsie

Thanks,

Richard

Gmane