aptly/deb
Ryan Gonzalez 79975bf2b6 Fix reflist diffs failing to compact when one of the inputs ends
The previous reflist logic would early-exit the loop body if one of the
lists was empty, but that skips the compacting logic entirely.

Instead of doing the early-exit, we can leave a list's ref as nil when
the list end is reached and then flip the comparison result, which will
essentially treat it as being greater than all others. This should
preserve the general behavior without omitting the compaction.

Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
2024-04-24 17:36:36 +02:00
..
testdata deb: fix importing dbgsym packages with versioned Source field 2022-01-31 11:14:18 +01:00
changes.go Use github.com/saracen/walker for file walk operations 2024-04-24 16:46:16 +02:00
changes_test.go implement structured logging 2023-02-20 13:42:50 +01:00
checksum_collection.go Consistently use transactions to update database 2019-08-11 00:11:53 +03:00
checksum_collection_test.go Refactor database code to support standalone batches, transactions. 2019-08-09 00:46:40 +03:00
collections.go Consistently use transactions to update database 2019-08-11 00:11:53 +03:00
contents.go fix golint complaints 2024-03-06 06:21:36 +01:00
deb.go Add support for zst compression 2022-04-04 17:51:21 +02:00
deb_test.go Add unittest for zstd compression support 2022-04-04 17:51:21 +02:00
debian.go Style fix. 2014-04-08 01:04:01 +04:00
debian_test.go Upgrade gocheck 2014-11-05 13:27:15 -06:00
format.go update golangci-lint and replace deprecated calls to io/ioutil 2022-12-12 10:21:39 +01:00
format_test.go Add support to mirror non package installer files 2018-07-06 15:02:37 +02:00
graph.go Show storage of publish on graph 2023-05-26 17:20:16 +02:00
import.go Use github.com/saracen/walker for file walk operations 2024-04-24 16:46:16 +02:00
index_files.go fix lint complaints 2024-04-03 10:13:24 +02:00
list.go Add publish output progress counting remaining number of packages 2022-01-27 09:30:14 +01:00
list_test.go Test case for filters. #227 2015-03-30 19:56:53 +03:00
local.go fix golint complaints 2024-03-06 06:21:36 +01:00
local_test.go Don't use transactions when direct db access is enough 2022-01-27 09:30:14 +01:00
long.stanza Buffer increase (#738) 2018-05-14 17:41:33 +03:00
package.go fix lint complaints 2024-04-03 10:13:24 +02:00
package_collection.go Fix: Implement golangci-lint suggestions 2023-09-21 11:25:18 +02:00
package_collection_test.go Refactor database code to support standalone batches, transactions. 2019-08-09 00:46:40 +03:00
package_deps.go Ignore empty 'Depends:' while parsing control file. #233 2015-04-10 21:10:53 +03:00
package_files.go Add support to mirror non package installer files 2018-07-06 15:02:37 +02:00
package_files_test.go Fix paths after repository transfer to aptly-dev 2018-04-18 21:19:43 +03:00
package_test.go Simplify package function signature LinkFromPool 2018-07-06 15:02:37 +02:00
ppa.go Fix paths after repository transfer to aptly-dev 2018-04-18 21:19:43 +03:00
ppa_test.go Fix paths after repository transfer to aptly-dev 2018-04-18 21:19:43 +03:00
publish.go Skip loading reflists when listing published repos 2024-04-24 17:35:44 +02:00
publish_bench_test.go Improve publish cleanup perf when sources share most of their packages 2024-04-24 16:46:16 +02:00
publish_test.go Improve publish cleanup perf when sources share most of their packages 2024-04-24 16:46:16 +02:00
query.go Fix: Implement golangci-lint suggestions 2023-09-21 11:25:18 +02:00
query_test.go Use proper version comparisions for querys 2022-04-27 13:50:14 +02:00
reflist.go Fix reflist diffs failing to compact when one of the inputs ends 2024-04-24 17:36:36 +02:00
reflist_bench_test.go Use zero-copy decoding for reflists 2024-04-24 16:46:16 +02:00
reflist_test.go Fix reflist diffs failing to compact when one of the inputs ends 2024-04-24 17:36:36 +02:00
remote.go fix lint complaints 2024-04-03 10:13:24 +02:00
remote_test.go Improve publish cleanup perf when sources share most of their packages 2024-04-24 16:46:16 +02:00
snapshot.go fix golint complaints 2024-03-06 06:21:36 +01:00
snapshot_bench_test.go Refactor database code to support standalone batches, transactions. 2019-08-09 00:46:40 +03:00
snapshot_test.go Consistently use transactions to update database 2019-08-11 00:11:53 +03:00
uploaders.go Fix paths after repository transfer to aptly-dev 2018-04-18 21:19:43 +03:00
uploaders_test.go Fix paths after repository transfer to aptly-dev 2018-04-18 21:19:43 +03:00
version.go Parse dependency architecture even without version 2019-09-06 15:41:59 +03:00
version_test.go Use proper version comparisions for querys 2022-04-27 13:50:14 +02:00