aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.56k stars 374 forks source link

Chore: 1216-update-go-python-and-dependencies #1217

Closed reglim closed 1 year ago

reglim commented 1 year ago

Fixes #1216

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Description of the Change

var repoTemplate *template.Template
repoTemplate, err = template.New("repo").Parse(repoTemplateString)
if err != nil {
    return fmt.Errorf("error parsing -repo template: %s", err)
}

Why this change is important?

The dependencies have not been updated for quite some time, and Go was on version 1.16 which is now two years old, so it was time for an upgrade.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #1217 (3ec5fca) into master (18203c6) will increase coverage by 0.01%. The diff coverage is 62.00%.

@@            Coverage Diff             @@
##           master    #1217      +/-   ##
==========================================
+ Coverage   65.95%   65.96%   +0.01%     
==========================================
  Files         143      143              
  Lines       16192    16188       -4     
==========================================
  Hits        10679    10679              
+ Misses       4760     4756       -4     
  Partials      753      753              
Files Changed Coverage Δ
cmd/task_run.go 74.38% <0.00%> (+1.20%) :arrow_up:
deb/changes.go 72.56% <0.00%> (ø)
deb/package_collection.go 67.61% <0.00%> (ø)
deb/remote.go 75.00% <ø> (ø)
main.go 0.00% <ø> (ø)
swift/public.go 57.69% <0.00%> (ø)
task/output.go 30.61% <0.00%> (ø)
utils/logging.go 0.00% <0.00%> (ø)
azure/public.go 65.25% <50.00%> (ø)
http/fake.go 61.97% <50.00%> (ø)
... and 15 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more