History log of /haiku/src/bin/package_repo/package_repo.cpp (Results 1 – 6 of 6)
Revision Date Author Comments
# 5a8a2b50 17-Sep-2024 Augustin Cavalier <waddlesplash@gmail.com>

package_repo: Add -f argument to "list" mode to print filenames.

This way, users of package_repo don't have to reassemble the
canonical filenames themselves.


# a272ee79 26-Aug-2024 Michael Lotz <mmlr@mlotz.ch>

package_repo: Add "-t" argument to update command.

When set, the package names provided in the file list are assumed to be
in their canonical form and the package files are not accessed to build
can

package_repo: Add "-t" argument to update command.

When set, the package names provided in the file list are assumed to be
in their canonical form and the package files are not accessed to build
canonical names from their package info.

This allows for delta updates where package files are only listed in the
file list but are not present or valid in the packages directory.

This does not fundamentally change the risks of such updates as the
checksum of packages was already not revalidated and replaced packages
were therefore already not detected.

Change-Id: I3a10794858384fe17374eb0469dd4bd4e024253a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8138
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>

show more ...


# 8e727451 14-Nov-2013 Oliver Tappe <zooey@hirschkaefer.de>

Fix behaviour of 'package_repo update':

* Instead of copying over the repository info from the source
repository, we need to read the repository info from a repository
info file corresponding

Fix behaviour of 'package_repo update':

* Instead of copying over the repository info from the source
repository, we need to read the repository info from a repository
info file corresponding to the target repository. Among other
problems, copying over the repository info from the source repo
put the wrong repository URL into the new repository, which in
turn caused the package resolution done by Haiku's build system to
fail (it tried to download packages from the wrong URL).
Additionally, I have updated the incorrect repository on the server, so
building Haiku-x86 should work again.

show more ...


# 9f81ca83 27-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Merge branch 'package-management'

Conflicts:
src/preferences/network/Jamfile


# da33beab 18-Sep-2013 Oliver Tappe <zooey@hirschkaefer.de>

Add command 'update' to package_repo.

* 'update' takes an existing repository and a package list file and then
creates a new repository from that, avoiding expensive
checksum-recomputations wher

Add command 'update' to package_repo.

* 'update' takes an existing repository and a package list file and then
creates a new repository from that, avoiding expensive
checksum-recomputations where possible

show more ...


# 0d68f6af 09-Feb-2011 Oliver Tappe <zooey@hirschkaefer.de>

Implemented repository writing:
* fleshed out RepositoryWriterImpl
* renamed BRepositoryHeader to BRepositoryInfo (in accordance with
BPackageInfo)
* adjusted BRepositoryInfo to be able to parse it

Implemented repository writing:
* fleshed out RepositoryWriterImpl
* renamed BRepositoryHeader to BRepositoryInfo (in accordance with
BPackageInfo)
* adjusted BRepositoryInfo to be able to parse itself from a
driver_settings file
* added package_repo binary (only 'create' works as of yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...