Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variety of additional changes #13

Merged
merged 25 commits into from
Aug 19, 2023
Merged

Variety of additional changes #13

merged 25 commits into from
Aug 19, 2023

Conversation

refi64
Copy link
Collaborator

@refi64 refi64 commented Aug 18, 2023

I don't even know how to summarize all this.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Before, this wouldn't include the url/filename, which made it hard to
determine where failures happened.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
aptly wouldn't see any references to the architecture and thus would
skip it altogether.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This slightly speeds up the initial component listing when doing syncs,
which is more pronounced when running incrementally & skipping
snapshots.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
With a lot of publishes, this starts to get quite slow, taking several
seconds for each listing. When resuming an incremental run, this results
in taking *minutes* to find the last progress point.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Passing the arch list manually but omitting 'source' results in no
source packages being published.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Dropping these repos isn't easily doable because it ends up also nuking
the snapshots stored at its subpath. Instead, offer an option to just
update in-place, which isn't perfect but works for our purposes.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This test has worked historically without these files, because
obs2aptly doesn't need the versions for packages that are not present
in aptly yet. However, future optimizations elsewhere will require this,
and that's unpleasant behavior to depend on regardless.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
When running apt2aptly, a large chunk of the runtime can end up taken by
repeatedly checking for the same packages. This adds caching so that our
known information about packages can be kept across syncs.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Also move it to a workspace-wide version to make it easier to control.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This is useful for debugging purposes.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
In particular, including the distribution makes the logs significantly
clearer.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This makes it clearer as to where errors reading the version are coming
from.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
If we only do the removal when the newest version hashes don't match,
and the sync is interrupted *after* packages are added but *before*
deletions take place, then the old debs will never be removed.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
These were accidentally omitted before.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
This is a simple REST API that simply returns the latest snapshot
published for a dist.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
@refi64 refi64 added this pull request to the merge queue Aug 19, 2023
Merged via the queue into main with commit 9859158 Aug 19, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant