Andrey Smirnov
982c093fbf
Fix system tests
2017-05-23 16:24:49 +03:00
Andrey Smirnov
1be8d39105
Refactor GPG signer/verifier
...
Goal is to make it easier to plug in another implementation.
2017-05-23 02:54:56 +03:00
Andrey Smirnov
c026106352
Merge pull request #571 from sliverc/travis_for_forks
...
Making travis CI run again on forks
2017-05-19 22:41:15 +03:00
Oliver Sauder
c507d0620b
Making travis CI run again on forks
2017-05-19 16:37:04 +02:00
Andrey Smirnov
f84672239a
Merge pull request #569 from smira/linters-4
...
Enable goconst & interfacer linters
2017-05-17 15:33:02 +03:00
Andrey Smirnov
c9bd7b4b5d
Merge pull request #567 from smira/431-500-api
...
Fix possible cause for spurious 500s
2017-05-17 15:32:52 +03:00
Andrey Smirnov
470165a419
Enable goconst & interfacer linters
2017-05-17 00:53:10 +03:00
Andrey Smirnov
9de9fbe6bd
Merge branch 'master' into 431-500-api
2017-05-17 00:52:32 +03:00
Andrey Smirnov
e396a2e6c3
Merge pull request #568 from smira/fix-flat-tests
...
Fix tests for flat repos
2017-05-17 00:52:19 +03:00
Andrey Smirnov
829ea2e65c
Fix tests for flat repos
2017-05-17 00:09:18 +03:00
Andrey Smirnov
39d2d273dc
Fix possible cause for spurious 500s
...
When DB fails to be open, aptly was skipping "close" phase, so that next
request considered database to be still open (while it's closed) leading
to panic.
Fixes : #431
2017-05-16 00:42:59 +03:00
Andrey Smirnov
5a3e660c0d
Merge pull request #566 from smira/135-sort-search
...
Sort package lists when searching or showing objects
2017-05-10 00:19:53 +03:00
Andrey Smirnov
589dc93380
Sort package lists when searching or showing objects
...
Fixes #135
Fixes #214
2017-05-05 18:42:46 +03:00
Andrey Smirnov
33357c1fe4
Merge pull request #565 from smira/linters-3
...
Enable `vetshadow` linter
2017-05-05 17:43:09 +03:00
Andrey Smirnov
5ce6bf8718
Enable vetshadow linter
2017-05-04 23:00:13 +03:00
Andrey Smirnov
d7bcf372c4
Merge pull request #564 from jyundt/add_mirror_edit_bash_autocomplete
...
Add mirror edit option to bash auto-complete
2017-05-04 21:26:11 +03:00
Jacob Yundt
3aa044d722
Add mirror edit option to bash auto-complete
...
Fixes smira/aptly#563
2017-05-04 13:24:34 -04:00
Andrey Smirnov
a9a5a73dfd
Merge pull request #560 from smira/linters-2
...
More Go linters enabled, issues fixed
2017-05-04 02:13:06 +03:00
Andrey Smirnov
66b44e68a9
Attempt to workaround Travis "10 minutes without output".
2017-05-03 20:28:57 +03:00
Andrey Smirnov
51213899b7
More Go linters enabled, issues fixed
...
Ref: #528
Enables "staticcheck", "varcheck", "structcheck", "aligncheck"
2017-05-03 18:23:14 +03:00
Andrey Smirnov
7a7c9cd26c
Merge pull request #559 from smira/linters-extend-deadline
...
Extend linters deadline
2017-05-02 22:12:45 +03:00
Andrey Smirnov
1b9ab46c5f
Extend linters deadline
...
Ref: #528
2017-05-02 20:35:16 +03:00
Andrey Smirnov
2cbed28446
Merge pull request #558 from smira/linters-python
...
Add system's requirements.txt, enforce flake8 linter
2017-04-28 16:14:32 +03:00
Andrey Smirnov
39aa0fdbfe
Merge pull request #557 from smira/linters-1
...
Enable `gosimple` and `ineffasign` linters
2017-04-28 00:29:20 +03:00
Andrey Smirnov
c983810e2d
Manually create system/env, workaround Travis issues
2017-04-28 00:16:21 +03:00
Andrey Smirnov
c798db8056
Add system's requirements.txt, enforce flake8 linter
...
Fix style issues in functional tests.
2017-04-28 00:05:11 +03:00
Andrey Smirnov
1e4a80252e
Extend linter deadline to 1 minute
2017-04-27 22:32:35 +03:00
Andrey Smirnov
bae3f949b4
Enable gosimple and ineffasign linters
2017-04-27 18:34:30 +03:00
Andrey Smirnov
7a7b981d4f
Merge pull request #539 from smira/public-pool-paths
...
New package pool with configurable hashing base
2017-04-27 16:24:14 +03:00
Andrey Smirnov
2ffefeb1e0
Add man page for skipLegacyPool
2017-04-27 00:51:46 +03:00
Andrey Smirnov
1941418c10
Add system test for disabled legacy pool path support
2017-04-27 00:51:46 +03:00
Andrey Smirnov
186bb2dff0
Add flag to disable/enable support for legacy pool paths
...
Legacy pool paths are enabled by default, but for new aptly installations
(when aptly config is first generated), it would be disabled explicitly.
2017-04-26 23:37:31 +03:00
Andrey Smirnov
2308632683
Add system tests for legacy pool files
2017-04-26 23:17:04 +03:00
Andrey Smirnov
ee21b69402
Add test for mirror without MD5 checksums
2017-04-26 23:17:04 +03:00
Andrey Smirnov
01512df853
Rework mirror update to support closing/reoping DB for the download duration
...
This requires splitting up import file phase as separate step in then end,
it should be pretty fast, as it only does file move (hardlink) and
DB update for new checksums.
2017-04-26 23:17:04 +03:00
Andrey Smirnov
7dcc0d597d
Fix S3/Swift tests
2017-04-26 23:17:04 +03:00
Andrey Smirnov
154ef7fe65
Fix system tests for aptly repo include
2017-04-26 23:17:04 +03:00
Andrey Smirnov
4601f07349
Fix system tests for aptly repo add
2017-04-26 23:17:04 +03:00
Andrey Smirnov
b7b9f12c88
Update system tests for SHA512 checksums being generated
2017-04-26 23:17:04 +03:00
Andrey Smirnov
b48e8425ec
Fix bug with file not being updated properly
2017-04-26 23:17:04 +03:00
Andrey Smirnov
3ce8227122
Add baseName to LinkFromPool as explicit argument
2017-04-26 23:17:04 +03:00
Andrey Smirnov
0bc3f71d27
Use SHA256 as main checksum in the pool
2017-04-26 23:17:04 +03:00
Andrey Smirnov
c1d4c0fb88
Temporarily disable db close/open cycle (to be addressed later)
2017-04-26 23:17:04 +03:00
Andrey Smirnov
8078f3b588
We should remove file only when checksums are calculated
2017-04-26 23:17:04 +03:00
Andrey Smirnov
5dd11a2ec2
Pull original packages when skipping existing packages
2017-04-26 23:17:04 +03:00
Andrey Smirnov
cc34a021ce
Fix misspellings
2017-04-26 23:17:04 +03:00
Andrey Smirnov
10c096fbb6
Update all other pieces for the CheckumStorage and Verify
2017-04-26 23:17:04 +03:00
Andrey Smirnov
a85d8b6f90
Mock for ChecksumStorage
2017-04-26 23:17:04 +03:00
Andrey Smirnov
5566111a7b
New ChecksumStorage and new PackagePool interfaces
2017-04-26 23:17:04 +03:00
Andrey Smirnov
6994e35119
ChecksumCollection implementation
2017-04-26 23:17:04 +03:00