Andrey Smirnov
d46d8de5f7
Make sure contents don't have duplicate package entries. #142
2015-04-05 21:12:25 +03:00
Andrey Smirnov
df887d871b
Skipping contents generation. #142
2015-04-02 00:29:49 +03:00
Andrey Smirnov
138f9f7994
Generate only .gz file for Contents index. #142
2015-04-02 00:29:49 +03:00
Sean
b877e06a02
Update import.go
...
Add support for Automatic Debug Packages (.ddeb's)
2015-03-31 12:17:32 -07:00
Andrey Smirnov
38f4fc209b
Contents index support. #142
2015-03-31 00:08:23 +03:00
Andrey Smirnov
b223acdecb
Contents index generator. #142
2015-03-31 00:07:42 +03:00
Andrey Smirnov
cc8a87b448
Cached calculation of package contents. #142
2015-03-31 00:07:07 +03:00
Andrey Smirnov
ee3d414ed5
Don't use shared encodeBuffer, not safe for API mode.
2015-03-30 23:59:00 +03:00
Andrey Smirnov
d791aa0f15
Remove debugging output. #142
2015-03-30 23:54:36 +03:00
Andrey Smirnov
27da1015af
Test case for filters. #227
2015-03-30 19:56:53 +03:00
Andrey Smirnov
a6c40f3193
Getting contents from .deb files. #142
2015-03-24 22:09:36 +03:00
Andrey Smirnov
1c4b44e772
Uploaders to JSON transformation via String. #71
2015-03-22 12:39:37 +03:00
Andrey Smirnov
d2ce33e66a
Allow local repo to carry uploaders.json config. #71
2015-03-20 22:28:45 +03:00
Andrey Smirnov
cc3f5149c6
Return detailed error if uploaders deny upload. #71
2015-03-20 00:11:30 +03:00
Andrey Smirnov
02a82f3545
Use relaxed config reader. #71
2015-03-19 23:54:35 +03:00
Andrey Smirnov
c573746896
Refactor to get Keys from Changes. #71
2015-03-19 01:36:39 +03:00
Andrey Smirnov
813b9593fa
Uploaders rules facility: controlling who can upload .changes. #71
2015-03-19 01:05:09 +03:00
Andrey Smirnov
bc68513708
Implementation of PackageLike interface for Changes. #71
2015-03-19 00:26:18 +03:00
Andrey Smirnov
22c656d18e
Style fix [ci skip]. #71
2015-03-18 23:27:21 +03:00
Andrey Smirnov
4d622e467c
Refactoring: make PackageQuery work on PackageLike objects (not necessarily Packages). #71
2015-03-18 23:25:20 +03:00
Andrey Smirnov
36326788b0
When importing package into local repo, verify that it matches package restriction based on .changes file. #71
2015-03-18 22:20:52 +03:00
Andrey Smirnov
782ac1a36a
ChangesFile can produce Query each package file should satisfy. #71
2015-03-18 22:19:12 +03:00
Andrey Smirnov
8ca07d9acd
Fix unit tests. #71
2015-03-18 22:10:49 +03:00
Andrey Smirnov
4a57fe3c39
Refactoring: make gpg verification return missing/good key IDs. #71
...
Eliminate "hint" on missing keys which doesn't apply to .changes.
Would be good to eventually stop using GPG and start calling golang.org/x/crypto/openpgp
2015-03-18 21:34:54 +03:00
Andrey Smirnov
67a31d5eaa
Merge branch '71-changes-support'
2015-03-17 00:19:28 +03:00
Andrey Smirnov
90d3b623b4
Check file size as well as checksums. #71
2015-03-17 00:01:58 +03:00
Andrey Smirnov
925882b253
Collect .changes file in directory hiearchy. #71
2015-03-15 21:26:58 +03:00
Andrey Smirnov
4a6d6a85f7
Remove unused error argument.
2015-03-15 20:06:59 +03:00
Andrey Smirnov
2f3b5f5a51
Refactor Changes structure, new method prepare to verify checksums and copy files. #71
2015-03-15 18:16:11 +03:00
Andrey Smirnov
42c4644be3
Move go-uuid to GitHub. No more code.google.com. RIP.
2015-03-15 14:06:40 +03:00
Andrey Smirnov
77bb4d423d
Update import path for gographviz.
2015-03-15 13:51:14 +03:00
Andrey Smirnov
a7103623af
.changes files parsing. #71
2015-03-13 21:46:32 +03:00
Andrey Smirnov
903e999cdc
Refactor checksum parsing out of package parsing code. #71
2015-03-13 21:23:22 +03:00
Andrey Smirnov
69eff97b34
Relax .dsc checkshums parsing. #71
2015-03-13 20:53:53 +03:00
Andrey Smirnov
8e20daa927
Refactor out IsClearSigned to separate method. #71
2015-03-13 18:42:34 +03:00
Andrey Smirnov
ed931e7ed4
Fix unit-tests. #153
2015-03-11 23:29:07 +03:00
Andrey Smirnov
f8bca463bb
Add -force-drop to aptly publish drop, ?force=1 to DELETE publish/... to drop
...
published repositories even if cleanup fails. #153
2015-03-11 22:02:11 +03:00
Andrey Smirnov
7e57f443ed
Style fix. #193
2015-03-11 21:40:04 +03:00
Andrey Smirnov
b4cf2e7065
Canonical case fixes. #193
2015-03-11 01:25:54 +03:00
Andrey Smirnov
aa9d3360ba
Canonical case-folding for Debian stanzas. #193
2015-03-11 00:46:39 +03:00
Andrey Smirnov
4580a64192
Make import skip file if Name/Version/Arch is empty. #193
2015-03-11 00:34:48 +03:00
Andrey Smirnov
e63adffdf5
Introduce back reflist merging without conflict removal. aptly db cleanup requires
...
full reference list collection. #217
Fixes bug with aptly db cleanup removing conflicting packages.
2015-03-06 14:54:29 +03:00
Andrey Smirnov
618d06678c
Style fixes from go vet.
2015-02-22 14:36:14 +03:00
Andrey Smirnov
903d4cefba
gofmt -s
2015-02-22 14:29:09 +03:00
Andrey Smirnov
e5d646c007
Merge branch 'sbadia-swift'
...
Conflicts:
AUTHORS
2015-02-21 01:08:48 +03:00
Andrey Smirnov
b323e315d1
Add comments where required.
2015-02-20 23:47:17 +03:00
Andrey Smirnov
0b05964faa
Add ability to Flush CollectionFactory. #116
2015-02-15 23:57:54 +03:00
Alexander Guy
63bf30b890
d-i requires the Suite field in order to validate a mirror.
...
Debian's installer validates a mirror by downloading a Release,
and then cross-checking it based on its Codename and Suite. Without
a Suite field, the installer becomes unhappy (e.g. segfaults) and
won't continue the install.
Making the Codename and Suite the same validates with no problem.
2015-02-12 13:38:56 -08:00
Andrey Smirnov
1f73a34a54
Don't put empty Source: fields into package stanza. #195
2015-02-09 19:23:41 +03:00
Andrey Smirnov
f438637a98
Don't expose UUIDs in API. #168
...
Probably we should expose sources, but not as UUIDs. TODO.
2015-02-06 22:37:14 +03:00