Commit graph

3977 commits

Author SHA1 Message Date
josephschorr
5b552b0129 Merge pull request #567 from coreos-inc/python-registry-v2-optimize
Load images and storage references in bulk during V1 synthesize
2015-10-01 12:50:36 -04:00
Jimmy Zelinskie
9b43699741 Merge pull request #575 from jzelinskie/rados-v2
RadosGW v2 storage
2015-10-01 12:30:08 -04:00
Jimmy Zelinskie
6ed5087a3c add client side chunk join method 2015-10-01 12:28:56 -04:00
Jimmy Zelinskie
ffeb99d4ee BaseStreamFileLike: handle reads that return None
Fixes #555.
2015-09-30 17:46:59 -04:00
Jimmy Zelinskie
abe43a0e07 override upload_chunk_complete for RadosGW
RadosGW doesn't support server-side copy of keys into multipart, so we
have to always join it on the local side.
2015-09-30 17:46:59 -04:00
josephschorr
21462388e2 Merge pull request #570 from coreos-inc/python-registry-v2-filelike
Add full unit tests for the file-like objects and fix them
2015-09-30 15:17:24 -04:00
Joseph Schorr
a3ebb9028d Add full unit tests for the file-like objects and fix them
Fixes #568
2015-09-30 14:19:25 -04:00
Joseph Schorr
35c35d9913 Load images and storage references in bulk during V1 synthesize
Currently, we perform multiple queries for each layer, making it much slower (especially cross-region)

Fixes #413
2015-09-29 17:53:39 -04:00
josephschorr
78e8aefd45 Merge pull request #566 from coreos-inc/python-registry-v2-catalog
Add _catalog endpoint as specified by V2 API
2015-09-29 16:07:48 -04:00
Joseph Schorr
f44ca79391 Add _catalog endpoint as specified by V2 API
Fixes #391
2015-09-29 16:02:19 -04:00
josephschorr
dfe564fe24 Merge pull request #565 from coreos-inc/python-registry-v2-speccheck
New tests and small fixes while comparing against the V2 spec
2015-09-29 15:39:23 -04:00
Joseph Schorr
decdaa4c79 New tests and small fixes while comparing against the V2 spec
Fixes #391
2015-09-29 15:18:48 -04:00
josephschorr
41bfe2ffde Merge pull request #551 from coreos-inc/python-registry-v2-swift
Add V2 storage methods to Swift storage engine
2015-09-28 17:09:34 -04:00
Joseph Schorr
6c59161527 Add V2 storage methods to Swift storage engine
Fixes #508
2015-09-28 16:46:19 -04:00
josephschorr
fe31eb5c84 Merge pull request #556 from coreos-inc/python-registry-v2-fixsmallthings
Lots o'small fixes for V2
2015-09-28 16:07:33 -04:00
Joseph Schorr
d870ae4ec4 Fix initdb to put proper JSON into the v1_metadata 2015-09-28 15:56:24 -04:00
Joseph Schorr
acac893495 Crypto's Random needs to be reset after forks, otherwise it exceptions 2015-09-28 15:45:01 -04:00
Jimmy Zelinskie
c31c8cbf3c Merge pull request #554 from jzelinskie/v2-gcs
make registry v2 tests pass for GCS
2015-09-28 15:44:53 -04:00
Joseph Schorr
d45975051d Fix registry V1 push test 2015-09-28 15:44:18 -04:00
Joseph Schorr
2e694dd3f0 Move Docker V2 key to be loaded from file or generated on server load
Fixes #394
2015-09-28 15:43:51 -04:00
Jimmy Zelinskie
c5aa3ca4f0 make registry v2 tests pass for GCS
Fixes #509.
2015-09-28 15:42:48 -04:00
Jimmy Zelinskie
d82dce9f38 Merge pull request #553 from jzelinskie/registryv2
remove duplicate dependency from reqs.txt
2015-09-28 14:37:38 -04:00
Jimmy Zelinskie
0d94a025c0 remove duplicate dependency from reqs.txt 2015-09-28 14:33:32 -04:00
josephschorr
7bb15d8f19 Merge pull request #543 from coreos-inc/python-registry-v2-fixresume
Fix resumable upload support and add another test
2015-09-28 12:17:38 -04:00
Joseph Schorr
09f8ad695b Fix resumable upload support and add another test 2015-09-28 12:17:17 -04:00
josephschorr
7ca04f41dd Merge pull request #541 from coreos-inc/python-registry-v2-yaml-sucks
Remove yaml and switch to JSON because yaml is so slow
2015-09-24 16:30:21 -04:00
Joseph Schorr
4dc30d6321 Remove yaml and switch to JSON because yaml is so slow 2015-09-24 16:17:42 -04:00
josephschorr
f0636c0536 Merge pull request #514 from coreos-inc/python-registry-v2-patch-tests
Add PATCH tests for resumable upload
2015-09-24 15:06:38 -04:00
Joseph Schorr
051f669a93 Add PATCH tests for resumable upload
Fixes #510
2015-09-24 12:00:27 -04:00
josephschorr
4ffda39d39 Merge pull request #511 from coreos-inc/python-registry-v2-testperf
Better test performance for registry tests
2015-09-18 14:41:40 -04:00
Joseph Schorr
88bc93d607 Better test performance for registry tests 2015-09-17 16:48:08 -04:00
Joseph Schorr
dd61f56e89 Fix registry tests 2015-09-17 16:27:05 -04:00
Jake Moshenko
26cea9a07c Merge remote-tracking branch 'upstream/master' into python-registry-v2 2015-09-17 16:16:27 -04:00
josephschorr
0316f6e471 Merge pull request #505 from coreos-inc/fixmhead
Fix migration head
2015-09-16 18:35:31 -04:00
Joseph Schorr
b807accfb5 Fix migration head 2015-09-16 18:34:42 -04:00
josephschorr
217779273f Merge pull request #503 from coreos-inc/ghmigrate
Migrate all GitHub build triggers to use deploy keys
2015-09-16 18:32:32 -04:00
Silas Sewell
4b03abbe9f Merge pull request #504 from coreos-inc/fix-build
Make GIT_HEAD work on quay
2015-09-16 18:26:48 -04:00
Silas Sewell
3f4361bb17 Make GIT_HEAD work on quay 2015-09-16 18:25:01 -04:00
Joseph Schorr
eff9ff7a66 Migrate all GitHub build triggers to use deploy keys 2015-09-16 17:55:51 -04:00
josephschorr
c801965626 Merge pull request #492 from coreos-inc/nofreelunch
UI and API fixes for disallowing private repo count abuse
2015-09-16 17:53:11 -04:00
Silas Sewell
0a48f1cfb0 Merge pull request #495 from coreos-inc/quay-versions
Add quay releases
2015-09-16 17:29:58 -04:00
Silas Sewell
386c017d99 Add quay releases 2015-09-16 17:18:46 -04:00
josephschorr
b91660f87b Merge pull request #497 from coreos-inc/delrepofix
Fix interleaved repo delete with RAC via a transaction
2015-09-16 16:53:15 -04:00
Joseph Schorr
30379a2dd8 Fix interleaved repo delete with RAC via a transaction
The RepositoryActionCount table can have entries added while a repository deletion is in progress. We now perform the repository deletion under a transaction and explicitly test for RAC entries in the deletion unit test (which doesn't test interleaving, but it was missing this check).

Fixes #494
2015-09-16 15:34:32 -04:00
Joseph Schorr
2739cf47ba Prevent change visibility of a repo in the UI when disallowed by billing plan
Fixes #486

- Extracts out the check plan logic and UI from the new repo page into its own directive (repo-count-checker)
- Adds the new directive to the repo settings panel
- Some additional UI improvements for the repo settings panel
2015-09-16 14:00:06 -04:00
Silas Sewell
d6f4e0c7b2 Merge pull request #489 from coreos-inc/sample-mixpanel-events
Sample pull_repo events
2015-09-15 19:08:02 -04:00
Silas Sewell
a8183ed87b Sample pull_repo events 2015-09-15 18:41:48 -04:00
Jake Moshenko
68deff0e24 Merge pull request #490 from coreos-inc/migratebackp2
Missed one place to duplicate metadata.
2015-09-15 16:49:39 -04:00
Jake Moshenko
502f5e4c8a Missed one place to duplicate metadata. 2015-09-15 15:57:55 -04:00
Joseph Schorr
fbfe7fdb54 Make change repo visibility and create repo raise a 402 when applicable
We now check the user or org's subscription plan and raise a 402 if the user attempts to create/make a repo private over their limit
2015-09-15 14:33:35 -04:00