mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Persisting meta information about release.
This commit is contained in:
1 parent
08f045d503
commit
f7f4ba1691
2 files changed
+21
-1
No files matched your search
Vendored
+8
-1
@@ -30,7 +30,9 @@ type RemoteRepo struct {
|
||||
// List of components to fetch, if empty, then fetch all components
|
||||
Components []string
|
||||
// List of architectures to fetch, if empty, then fetch all architectures
|
||||
Architectures []string
|
||||
Architectures []string
|
||||
// Meta-information about repository
|
||||
Meta debc.Paragraph
|
||||
archiveRootURL *url.URL
|
||||
}
|
||||
|
||||
@@ -126,6 +128,11 @@ func (repo *RemoteRepo) Fetch(d utils.Downloader) error {
|
||||
}
|
||||
}
|
||||
|
||||
delete(para, "MD5Sum")
|
||||
delete(para, "SHA1")
|
||||
delete(para, "SHA256")
|
||||
repo.Meta = para
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user