Commit Graph

2228 Commits

Author SHA1 Message Date
Maciej Gol c46f12f0d6 Update the gpg key of the repo.aptly.info repository in the documentation 2022-03-30 14:25:04 +02:00
Lorenzo Bolla f89350e6cd Timeout CI build job after 30 minutes
Fix #1032
2022-02-13 21:07:50 +01:00
Lorenzo Bolla fd404064c9 Use University of Utah mirror in tests
Fix #1034
2022-02-13 20:44:28 +01:00
Benj Fassbind 21029c326b Add release to CI 2022-02-11 08:36:21 +01:00
Lorenzo Bolla e8ec6385f3 Fix linting errors 2022-02-08 11:18:50 +01:00
Lorenzo Bolla 1361bf20dd Revive skipped tests 2022-02-08 11:18:50 +01:00
Lorenzo Bolla 5d98546e1d Use a more recent GPG key server 2022-02-08 11:18:50 +01:00
Luciano Lionello ff5eb53f48 Fix: typo in aptly web page link 2022-02-05 09:28:44 +01:00
Ratchanan Srirattanamet 814d4dbb51 deb: fix importing dbgsym packages with versioned Source field
dpkg-gencontrol can be called with -v flag which set binary package's
version separated from source version. When this happen, the Source
field will contain version number in addition to source package name.
This tripped Aptly's dbgsym restriction, which check for exact source
package name, which in turn prevents the dbgsym & the whole .changes
file from being imported.

From the git history, it seems like this condition is a leftover from
when Aptly filter dbgsym packages using "*-dbgsym". So, I decided to
remove it. A test case has been added to prevent regression.
2022-01-31 11:14:18 +01:00
Lorenzo Bolla 2c68175b5c Update man pages 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 551a370c13 Basic tests for Grab downloader 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 1afcd68e01 Make downloader type configurable 2022-01-31 10:32:54 +01:00
Lorenzo Bolla cc30ef3ee2 Remove vendor directory
We use go modules now.
2022-01-31 10:32:54 +01:00
Lorenzo Bolla 235e35a2f3 Rate limit 0 effectively disables rate limiting 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 4c54f967b7 Fix error checking 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 8925949be3 Support rate limiting in grab downloader 2022-01-31 10:32:54 +01:00
Lorenzo Bolla e96372c999 Implement ignore checksum mismatch
Also, update "pkg/errors" library.
2022-01-31 10:32:54 +01:00
Lorenzo Bolla e5d9d27069 Wrap errors with more context 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 853c990b6e Handle checksums 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 86c1ffab2a Add logs for checksum 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 952287a787 Reenable checksums 2022-01-31 10:32:54 +01:00
Lorenzo Bolla b5d90b7b13 Add more logging 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 3e06af8515 Disable checksum for now 2022-01-31 10:32:54 +01:00
Lorenzo Bolla eff2e56d0d Specify output filename instead of directory
"temp" downloader uses its own naming for downloaded files.
2022-01-31 10:32:54 +01:00
Lorenzo Bolla eaac04ccf6 Improve logging in grab downloader 2022-01-31 10:32:54 +01:00
Lorenzo Bolla 894192851e Grab downloader 2022-01-31 10:32:54 +01:00
Benj Fassbind f93bc6ef0f Fix badges 2022-01-27 15:18:32 +01:00
Lorenzo Bolla 035d5314b0 Convert tests to Python 3
Fix #938
2022-01-27 15:06:33 +01:00
Benj Fassbind a40cfc679c Only run system test with latest go version 2022-01-27 09:30:14 +01:00
Benj Fassbind bda6eb4200 Update minimum required go version 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 70f7d7409a Allow to check for empty output in tests 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 48635c8057 Strip irrelevant lines from test output
It may happen that aptly retries to download data during tests (maybe because
of a network issue), but our fixtures doesn't account for it. So, we strip
those irrelevant lines before comparison.
2022-01-27 09:30:14 +01:00
Ximon Eighteen 122ff609e8 Typo correction in GHA workflow comment 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 30e94064e5 Ignore dates in test 2022-01-27 09:30:14 +01:00
Lorenzo Bolla d60e575af5 Re-enable testing on go 1.17 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 91c3ed8ec4 Fix failing tests 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 0dc49d2a70 Silence unhelpful linter error
See #1012
2022-01-27 09:30:14 +01:00
Benj Fassbind a83dea705f Build for newer go versions 2022-01-27 09:30:14 +01:00
Benj Fassbind ed7a960e31 Trigger CI on every push 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 9bf1a44f75 Fix test after merge 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 8ecd01be1f Temporarily skip test failing on CI 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 4933e3caf4 Try to fix test failing on CI
PublishRepo26Test fails to run because something in the CI environment forces
gpg to ask for the user's password. Try to require gpg1 for the test, which
seems to run fine in other environments.
2022-01-27 09:30:14 +01:00
Lorenzo Bolla 4a9a5bc713 Fix some failing system tests 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 7412b84e04 Fix flake8 lint errors 2022-01-27 09:30:14 +01:00
Lorenzo Bolla 3775d69a60 Fix linting errors 2022-01-27 09:30:14 +01:00
Ximon Eighteen 4cf57ae84d govet: compose literal uses unkeyed fields 2022-01-27 09:30:14 +01:00
Ximon Eighteen ef2541776b govet: compose literal uses unkeyed fields 2022-01-27 09:30:14 +01:00
Ximon Eighteen 78082bc10f Add a comment referring to the original Travis CI config from the new workflow. 2022-01-27 09:30:14 +01:00
Ximon Eighteen 5342e549cd govet: compose literal uses unkeyed fields 2022-01-27 09:30:14 +01:00
Ximon Eighteen e2d1e9a7df govet: compose literal uses unkeyed fields 2022-01-27 09:30:14 +01:00