]> git.ipfire.org Git - people/ms/pakfire.git/log
people/ms/pakfire.git
8 years agoAdd Makefile command to build a docker image
Michael Tremer [Sat, 23 Sep 2017 18:31:14 +0000 (19:31 +0100)] 
Add Makefile command to build a docker image

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoAdd Dockerfile
Jonatan Schlag [Sat, 23 Sep 2017 18:14:28 +0000 (19:14 +0100)] 
Add Dockerfile

This file allows to create a docker image based on CentOS
with pakfire pre-installed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
8 years agolibpakfire: Implement dumping a transaction
Michael Tremer [Wed, 7 Jun 2017 20:54:06 +0000 (22:54 +0200)] 
libpakfire: Implement dumping a transaction

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: Allow sorting package lists
Michael Tremer [Sat, 3 Jun 2017 13:39:28 +0000 (15:39 +0200)] 
libpakfire: Allow sorting package lists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRe-add accidentially committed line
Michael Tremer [Fri, 2 Jun 2017 17:03:34 +0000 (19:03 +0200)] 
Re-add accidentially committed line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoerrors: Print a nice message on dependency errors
Michael Tremer [Fri, 2 Jun 2017 17:03:00 +0000 (19:03 +0200)] 
errors: Print a nice message on dependency errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Move exception handling into Cli base class
Michael Tremer [Fri, 2 Jun 2017 17:02:32 +0000 (19:02 +0200)] 
cli: Move exception handling into Cli base class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Load ui component for CLIs
Michael Tremer [Fri, 2 Jun 2017 17:01:44 +0000 (19:01 +0200)] 
cli: Load ui component for CLIs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: repo: Don't clear repodata when repo is deallocated
Michael Tremer [Sat, 20 May 2017 21:26:01 +0000 (23:26 +0200)] 
libpakfire: repo: Don't clear repodata when repo is deallocated

This data needs to stay there until the pool (and the actual
repository in libsolv) is destroyed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: Allow accessing possible solutions for problems
Michael Tremer [Sat, 20 May 2017 21:01:55 +0000 (23:01 +0200)] 
libpakfire: Allow accessing possible solutions for problems

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: Allow extracting problems from solver
Michael Tremer [Sat, 20 May 2017 13:13:36 +0000 (15:13 +0200)] 
libpakfire: Allow extracting problems from solver

When a request could not be solved, the solver will return
a list of problems of what went wrong.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: Fix releasing memory in correct order
Michael Tremer [Sat, 20 May 2017 13:10:41 +0000 (15:10 +0200)] 
libpakfire: Fix releasing memory in correct order

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoBig rewrite of the builder class
Michael Tremer [Sat, 20 May 2017 10:11:02 +0000 (12:11 +0200)] 
Big rewrite of the builder class

This is WIP and mainly a reformatting and rewrite to use the
new interfaces of the Pakfire class.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopakfire: Allow easy access to version number
Michael Tremer [Sat, 20 May 2017 10:09:35 +0000 (12:09 +0200)] 
pakfire: Allow easy access to version number

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopakfire: Allow passing an individual configuration to a pakfire instance
Michael Tremer [Sat, 20 May 2017 10:08:50 +0000 (12:08 +0200)] 
pakfire: Allow passing an individual configuration to a pakfire instance

Handy for build environments that have a different configuration
than the host system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Make distribution objects easily accessible from config
Michael Tremer [Sat, 20 May 2017 10:06:57 +0000 (12:06 +0200)] 
config: Make distribution objects easily accessible from config

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agorepository: Automatically load repos from configuration file on startup
Michael Tremer [Sat, 20 May 2017 10:06:13 +0000 (12:06 +0200)] 
repository: Automatically load repos from configuration file on startup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Don't file if a file does not exist
Michael Tremer [Sat, 20 May 2017 10:05:43 +0000 (12:05 +0200)] 
config: Don't file if a file does not exist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoarch: Fix typos and catch some errors
Michael Tremer [Sun, 7 May 2017 12:23:57 +0000 (14:23 +0200)] 
arch: Fix typos and catch some errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoshell: Fix tailing logs
Michael Tremer [Sun, 7 May 2017 12:18:27 +0000 (14:18 +0200)] 
shell: Fix tailing logs

Anything that is read from a file descriptor is now
of the bytes data type.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoDrop support for icecream
Michael Tremer [Fri, 5 May 2017 18:29:46 +0000 (20:29 +0200)] 
Drop support for icecream

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRefactor repository downloading code
Michael Tremer [Fri, 5 May 2017 17:10:20 +0000 (19:10 +0200)] 
Refactor repository downloading code

This was always a bit messy and hard to use in other parts
of pakfire. Now, repositories are now refreshing themselves
when refresh() is being called.

Downloading code has been tidied up and everything should
be atomic.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolibpakfire: Allow direct parsing of XZ compressed SOLV files
Michael Tremer [Thu, 13 Apr 2017 17:27:05 +0000 (19:27 +0200)] 
libpakfire: Allow direct parsing of XZ compressed SOLV files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Reset pointer of downloaded temporary file
Michael Tremer [Wed, 12 Apr 2017 20:50:45 +0000 (22:50 +0200)] 
http: Reset pointer of downloaded temporary file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Compare retrieved files against a checksum
Michael Tremer [Sat, 8 Apr 2017 16:54:04 +0000 (18:54 +0200)] 
http: Compare retrieved files against a checksum

If the checksum does not match, the file is redownloaded from
another mirror server until all mirrors have been tried.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Actually write downloaded file to disk
Michael Tremer [Sat, 8 Apr 2017 13:53:08 +0000 (15:53 +0200)] 
http: Actually write downloaded file to disk

This was just unreachable code because of wrong indentation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoDrop satsolver.Pool class and use Pool from _pakfire
Michael Tremer [Fri, 7 Apr 2017 18:06:09 +0000 (20:06 +0200)] 
Drop satsolver.Pool class and use Pool from _pakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoDelete the repo cache to clean a repository
Michael Tremer [Fri, 7 Apr 2017 16:00:13 +0000 (18:00 +0200)] 
Delete the repo cache to clean a repository

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoInstalledPackages: Drop dead code
Michael Tremer [Fri, 7 Apr 2017 14:57:39 +0000 (16:57 +0200)] 
InstalledPackages: Drop dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoExtend Python bindings to use libpakfire for dependency resolution
Michael Tremer [Fri, 30 Dec 2016 13:25:58 +0000 (14:25 +0100)] 
Extend Python bindings to use libpakfire for dependency resolution

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Fix wrong function call
Michael Tremer [Fri, 30 Dec 2016 13:11:43 +0000 (14:11 +0100)] 
http: Fix wrong function call

The function was renamed to make clearer what it actually does

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years ago_pakfire: Implement Package based on libpakfire
Michael Tremer [Sun, 18 Dec 2016 17:37:32 +0000 (18:37 +0100)] 
_pakfire: Implement Package based on libpakfire

This wraps around libpakfire and enables Python to
get access to packages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years ago_pakfire: Use repository management code from libpakfire
Michael Tremer [Sun, 18 Dec 2016 17:06:52 +0000 (18:06 +0100)] 
_pakfire: Use repository management code from libpakfire

This is very much WIP but now uses the new pakfire library
to manage repositories in memory.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years ago_pakfire: Import Archive class
Michael Tremer [Sat, 17 Dec 2016 17:29:38 +0000 (18:29 +0100)] 
_pakfire: Import Archive class

This can be used to read a package archive and extract
files from it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoCleanup any clashes in include protectors
Michael Tremer [Thu, 15 Dec 2016 22:04:54 +0000 (23:04 +0100)] 
Cleanup any clashes in include protectors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoRewrite _pakfire.Pool based on libpakfire
Michael Tremer [Thu, 15 Dec 2016 22:00:50 +0000 (23:00 +0100)] 
Rewrite _pakfire.Pool based on libpakfire

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoImport libpakfire
Michael Tremer [Tue, 13 Dec 2016 22:44:00 +0000 (23:44 +0100)] 
Import libpakfire

libpakfire is a C implementation of some functionality
of pakfire. It is supposed to make code cleaner and avoid
too much wrapping in python. It is also intended to make
the code faster where ever performance is critical.

This patch adds a dependency to libarchive which is used
to read and write packages.

This implementation is not fully finished and possibly
rough around the edges. It has to be integrated into
the existing Python code and redundant code will have to
be dropped.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoAutomatically initialize any locally configured repositories
Michael Tremer [Mon, 12 Dec 2016 23:23:19 +0000 (00:23 +0100)] 
Automatically initialize any locally configured repositories

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoPakfireContext: Add shortcut to repos
Michael Tremer [Sun, 11 Dec 2016 22:29:02 +0000 (23:29 +0100)] 
PakfireContext: Add shortcut to repos

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoRemove outdated TODO list
Michael Tremer [Sun, 11 Dec 2016 22:28:28 +0000 (23:28 +0100)] 
Remove outdated TODO list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Add option for client code to skip mirrors
Michael Tremer [Sun, 11 Dec 2016 22:13:19 +0000 (23:13 +0100)] 
http: Add option for client code to skip mirrors

In case any higher-level code is not satisfied with
a download (checksum doesn't match, data too old),
it can decide to skip the current mirror and the next
best one is chosen.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Download to a temporary file
Michael Tremer [Sun, 11 Dec 2016 22:04:26 +0000 (23:04 +0100)] 
http: Download to a temporary file

This patch makes the HTTP client download data
into memory first and writes it to a temporary
file after 10M of data was downloaded.

This makes downloads faster and reduces IO load
but does not give us any limitation in case bigger
files are downloaded.

We get rid of some file locking which is always
difficult to entertain.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove remove() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 22:13:47 +0000 (23:13 +0100)] 
Move remove() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove downgrade() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 22:12:03 +0000 (23:12 +0100)] 
Move downgrade() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove update() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 22:10:44 +0000 (23:10 +0100)] 
Move update() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove reinstall() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 22:07:23 +0000 (23:07 +0100)] 
Move reinstall() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove install() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 22:02:39 +0000 (23:02 +0100)] 
Move install() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Remove unused builder attribute
Michael Tremer [Wed, 7 Dec 2016 21:57:57 +0000 (22:57 +0100)] 
base: Remove unused builder attribute

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Drop unnecessary repo_list
Michael Tremer [Wed, 7 Dec 2016 21:56:13 +0000 (22:56 +0100)] 
base: Drop unnecessary repo_list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove provides() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 21:51:45 +0000 (22:51 +0100)] 
Move provides() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoDrop groulist command
Michael Tremer [Wed, 7 Dec 2016 21:49:44 +0000 (22:49 +0100)] 
Drop groulist command

This does not have much use and is therefore
not supported any longer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoDrop groupinstall command
Michael Tremer [Wed, 7 Dec 2016 21:48:01 +0000 (22:48 +0100)] 
Drop groupinstall command

This was just a shortcut and I have personally never
used that and there is probably only little use for it.

Hence this patch drops it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove check() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 21:46:37 +0000 (22:46 +0100)] 
Move check() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoMove search() to PakfireContext
Michael Tremer [Wed, 7 Dec 2016 21:44:03 +0000 (22:44 +0100)] 
Move search() to PakfireContext

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Add PakfireContext
Michael Tremer [Wed, 7 Dec 2016 21:36:37 +0000 (22:36 +0100)] 
base: Add PakfireContext

To make initializing Pakfire easier, this patch introduces
PakfireContext. So writing code like

  with Pakfire() as p:
      p.some_action()

will automatically take care of initializing Pakfire and
cleaning up afterwards.

Actions that do not require initialization will remain
in Pakfire so that they can be accessed as

  p = Pakfire()
  p.some_other_action()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoui: Format bytes with proper whitespace and decimal points
Michael Tremer [Wed, 7 Dec 2016 21:11:16 +0000 (22:11 +0100)] 
ui: Format bytes with proper whitespace and decimal points

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Reset only when necessary
Michael Tremer [Wed, 7 Dec 2016 20:58:43 +0000 (21:58 +0100)] 
http: Reset only when necessary

This is when an error occoured and it will also
remove any partially downloaded content.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agocli: Fix dist command
Michael Tremer [Wed, 7 Dec 2016 20:48:21 +0000 (21:48 +0100)] 
cli: Fix dist command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agopackages: Replace old downloader code with new one
Michael Tremer [Wed, 7 Dec 2016 20:42:25 +0000 (21:42 +0100)] 
packages: Replace old downloader code with new one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Truncate the downloaded file instead re-opening it
Michael Tremer [Wed, 7 Dec 2016 20:27:37 +0000 (21:27 +0100)] 
http: Truncate the downloaded file instead re-opening it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoprogressbar: Only reset when progress is larger than zero
Michael Tremer [Wed, 7 Dec 2016 20:23:14 +0000 (21:23 +0100)] 
progressbar: Only reset when progress is larger than zero

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Reset the progressbar when download restarts
Michael Tremer [Wed, 7 Dec 2016 20:21:44 +0000 (21:21 +0100)] 
http: Reset the progressbar when download restarts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Only initialize the progress bar once
Michael Tremer [Wed, 7 Dec 2016 20:11:34 +0000 (21:11 +0100)] 
http: Only initialize the progress bar once

When a request fails and we move to the next mirror
we do not want to show an other progressbar.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Catch all download errors and move on to the next mirror
Michael Tremer [Wed, 7 Dec 2016 20:10:44 +0000 (21:10 +0100)] 
http: Catch all download errors and move on to the next mirror

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Use error widget to show any download errors
Michael Tremer [Wed, 7 Dec 2016 20:08:28 +0000 (21:08 +0100)] 
http: Use error widget to show any download errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoprogressbar: Add widget to show any errors
Michael Tremer [Wed, 7 Dec 2016 20:07:46 +0000 (21:07 +0100)] 
progressbar: Add widget to show any errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Make filename argument optional
Michael Tremer [Wed, 7 Dec 2016 00:19:51 +0000 (01:19 +0100)] 
http: Make filename argument optional

Use the basename of the URL if omitted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Pick mirror when downloading
Michael Tremer [Wed, 7 Dec 2016 00:14:54 +0000 (01:14 +0100)] 
http: Pick mirror when downloading

This avoids some unnecessary work when mirrors are added
(because mirror lists can be large) and unnecessary log
messages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Exclusively lock download files
Michael Tremer [Tue, 6 Dec 2016 23:57:29 +0000 (00:57 +0100)] 
http: Exclusively lock download files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Use buffer size value from constants
Michael Tremer [Tue, 6 Dec 2016 23:51:09 +0000 (00:51 +0100)] 
http: Use buffer size value from constants

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconstants: Remove unused setting
Michael Tremer [Tue, 6 Dec 2016 23:41:53 +0000 (00:41 +0100)] 
constants: Remove unused setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoUse new HTTP client to make source packages
Michael Tremer [Tue, 6 Dec 2016 23:41:16 +0000 (00:41 +0100)] 
Use new HTTP client to make source packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Add support for mirrors
Michael Tremer [Tue, 6 Dec 2016 23:38:55 +0000 (00:38 +0100)] 
http: Add support for mirrors

This patch add support for mirrors to the downloader. If a list
of mirrors is given, it will try to retrieve files from a mirror
and fall back to the next one on the list in case the request
was not successful.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Actually write downloaded files to the filesystem
Michael Tremer [Sun, 4 Dec 2016 22:56:51 +0000 (23:56 +0100)] 
http: Actually write downloaded files to the filesystem

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agosystem: Add host distro
Michael Tremer [Sat, 3 Dec 2016 19:16:17 +0000 (20:16 +0100)] 
system: Add host distro

The system module loads details about the host's distribution
which will be used by Pakfire if nothing else is configured.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Move architecture to Pakfire class
Michael Tremer [Sat, 3 Dec 2016 18:10:14 +0000 (19:10 +0100)] 
base: Move architecture to Pakfire class

This used to be located in Distribution but is actually
not that closely tied with that.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoarch: Rename arch variable to name
Michael Tremer [Sat, 3 Dec 2016 18:00:49 +0000 (19:00 +0100)] 
arch: Rename arch variable to name

Both don't sound right, but it makes more sense to use
arch.name than arch.arch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agosystem: Move architecture-dependent things into an own module
Michael Tremer [Sat, 3 Dec 2016 17:36:44 +0000 (18:36 +0100)] 
system: Move architecture-dependent things into an own module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Remove unnecessary import of system module
Michael Tremer [Sat, 3 Dec 2016 17:33:13 +0000 (18:33 +0100)] 
config: Remove unnecessary import of system module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Drop unused function check_host_arch()
Michael Tremer [Sat, 3 Dec 2016 17:22:41 +0000 (18:22 +0100)] 
base: Drop unused function check_host_arch()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years ago.gitignore: Also ignore vim read-only swap files
Michael Tremer [Sat, 3 Dec 2016 16:45:47 +0000 (17:45 +0100)] 
.gitignore: Also ignore vim read-only swap files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoRename "clean all" to clean
Michael Tremer [Sat, 3 Dec 2016 16:23:14 +0000 (17:23 +0100)] 
Rename "clean all" to clean

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agocli: Rename distro-sync to sync
Michael Tremer [Sat, 3 Dec 2016 16:16:22 +0000 (17:16 +0100)] 
cli: Rename distro-sync to sync

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agocli: Use new Pakfire context mechanism
Michael Tremer [Sat, 3 Dec 2016 16:14:34 +0000 (17:14 +0100)] 
cli: Use new Pakfire context mechanism

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Turn Pakfire initialization into a context
Michael Tremer [Sat, 3 Dec 2016 16:13:25 +0000 (17:13 +0100)] 
base: Turn Pakfire initialization into a context

This makes code smaller and easier to read and users
of the Pakfire class do not have to take care of any
initialization and cleanup.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agocli: Convert pakfire to new format
Michael Tremer [Sat, 3 Dec 2016 16:12:07 +0000 (17:12 +0100)] 
cli: Convert pakfire to new format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: Remove unused PakfireClient class
Michael Tremer [Sat, 3 Dec 2016 14:16:19 +0000 (15:16 +0100)] 
base: Remove unused PakfireClient class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobuilder: Remove unused kernel_version
Michael Tremer [Sat, 3 Dec 2016 14:15:15 +0000 (15:15 +0100)] 
builder: Remove unused kernel_version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agobase: No need to reset the logger after Pakfire is deleted
Michael Tremer [Sat, 3 Dec 2016 14:13:04 +0000 (15:13 +0100)] 
base: No need to reset the logger after Pakfire is deleted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agocli: Convert pakfire-builder to new format
Michael Tremer [Sat, 3 Dec 2016 14:10:46 +0000 (15:10 +0100)] 
cli: Convert pakfire-builder to new format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Drop old Config class with was replaced
Michael Tremer [Sat, 3 Dec 2016 14:03:36 +0000 (15:03 +0100)] 
config: Drop old Config class with was replaced

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Add get_repos() to get all repository definitions
Michael Tremer [Sat, 3 Dec 2016 14:01:59 +0000 (15:01 +0100)] 
config: Add get_repos() to get all repository definitions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Allow fetching an entire section with get()
Michael Tremer [Sat, 3 Dec 2016 14:01:27 +0000 (15:01 +0100)] 
config: Allow fetching an entire section with get()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Drop unused ConfigDaemon class
Michael Tremer [Sat, 3 Dec 2016 13:44:13 +0000 (14:44 +0100)] 
config: Drop unused ConfigDaemon class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Use correct function to read from file
Michael Tremer [Sat, 3 Dec 2016 10:48:33 +0000 (11:48 +0100)] 
config: Use correct function to read from file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoconfig: Add function to read configuration from string
Michael Tremer [Sat, 3 Dec 2016 10:45:27 +0000 (11:45 +0100)] 
config: Add function to read configuration from string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoDrop unused ConfigClient class
Michael Tremer [Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)] 
Drop unused ConfigClient class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agohttp: Move support for decoding strings into HTTP client
Michael Tremer [Fri, 2 Dec 2016 13:06:15 +0000 (14:06 +0100)] 
http: Move support for decoding strings into HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoDrop old transport module which is replaced by the hub module
Michael Tremer [Fri, 2 Dec 2016 12:55:43 +0000 (13:55 +0100)] 
Drop old transport module which is replaced by the hub module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agodaemon: Adopt new internal modules to implement the daemon
Michael Tremer [Fri, 2 Dec 2016 12:54:42 +0000 (13:54 +0100)] 
daemon: Adopt new internal modules to implement the daemon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>