Commit graph

75 commits

Author SHA1 Message Date
Jake Moshenko
9da64f3aba Stop writing to deprecated columns for image data. 2015-10-24 14:45:15 -04:00
Quentin Machu
27fd4a5555 Update old import 2015-10-06 18:42:41 -04:00
Joseph Schorr
fb86b4bf2c Fix Dockerfile parsing for unicode and add testing
Fixes #423
2015-08-31 14:32:26 -04:00
Jake Moshenko
3efaa255e8 Accidental refactor, split out legacy.py into separate sumodules and update all call sites. 2015-07-17 11:56:15 -04:00
Joseph Schorr
fdd43e2490 Change API calls that expect non-robots to explicitly filter
Before this change, we'd filter in the UI but calls to the API could allow robots accounts where we only expect real users
2015-05-26 17:47:33 -04:00
Jake Moshenko
062b33c709 Add a tool to delete log entries more than 30 days old. 2015-04-21 16:55:44 -04:00
Joseph Schorr
581a284744 Add a rename user tool 2015-03-06 14:37:32 -05:00
Joseph Schorr
70eab04b84 Add a tool for sending password reset emails 2015-01-29 12:21:06 -05:00
Jimmy Zelinskie
eeeb2e620c move slackwebhook migration from tools to util
tools isn't shipped inside of the container because it contains private
keys
2014-12-18 13:22:13 -05:00
Jimmy Zelinskie
a6762531e8 remove unused imports 2014-12-16 12:16:49 -05:00
Joseph Schorr
107847a4bb Fix Slack notification setup to support the new slack web hook format and convert all existing data to use the new format (so we only have one code path) 2014-12-16 14:34:43 +02:00
Jimmy Zelinskie
716d7a737b Strip whitespace from ALL the things. 2014-11-24 16:07:38 -05:00
Joseph Schorr
091f821a6a - Rename get_repo_image to get_repo_image_extended and get_repo_image_directly to get_repo_image
- Remove the configure call from CloseForLongOperation
- Other small fixes
2014-11-10 13:44:36 -05:00
Joseph Schorr
7349d9d4cf Add a new tool for parsing build packs and make sure reparsedockerfile writes it out as well 2014-11-02 14:05:27 -05:00
Joseph Schorr
fb2470615b Add support for filtering based on tags, in addition to branches 2014-10-23 16:39:10 -04:00
Joseph Schorr
f4daa5e97b - Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL.
- Add migrations for the squashed image tables and for backfilling the uncompressed sizes
- Make sure gzip stream uses a max length when determining the uncompressed size
2014-10-07 15:29:56 -04:00
Jake Moshenko
1850a187d5 Skip images with memory errors on the backfill. 2014-10-07 13:13:03 -04:00
Jake Moshenko
55460cdcba Better error handling in the uncompressedsize script. 2014-10-07 10:22:02 -04:00
Jake Moshenko
153dbc3f92 Select random records to use for the backfill script for uncompressed sizes, can now be parallelized. 2014-10-06 17:15:45 -04:00
Jake Moshenko
962062fb08 Fix a 512mb chunk size to 5mb 2014-10-06 11:26:23 -04:00
Jake Moshenko
d0b93146de Fixes for the uncompressedsize backfill script. 2014-10-03 16:14:24 -04:00
Joseph Schorr
45208983bf Update the backfill script to always read the size from the layer data 2014-10-03 15:07:50 -04:00
Joseph Schorr
0a93b39c54 Change the backfill script to use a spooled temp file 2014-09-27 14:55:24 -04:00
Joseph Schorr
d40b0975a7 Use the built-in .size method on gzip file 2014-09-26 12:25:28 -04:00
Joseph Schorr
76508218f4 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-09-26 12:22:30 -04:00
Joseph Schorr
e31e6b6865 Add migration code for calculating the uncompressed size from the layer data itself 2014-09-26 12:22:25 -04:00
Joseph Schorr
77c46af70b Add migration code for calculating the uncompressed size from the layer data itself 2014-09-26 12:21:50 -04:00
Joseph Schorr
1a33670933 Merge branch 'master' of https://bitbucket.org/yackob03/quay 2014-09-26 11:20:33 -04:00
Joseph Schorr
3002371f5a Add an orphans lookup script 2014-09-26 11:20:26 -04:00
Jake Moshenko
03190efde3 Phase 2 of migrating repo namespaces to referencing user objects, backfilling the rows without a value for namespace_user, and changing all accesses to go through the namespace_user object. All tests are passing, manual testing still required. 2014-09-24 18:01:35 -04:00
Jake Moshenko
6070c251ae Fix the backfill script to handle images without any json data at all. 2014-09-24 10:42:42 -04:00
Jake Moshenko
f8c5214e3e Parse the json data from the storage server. 2014-09-23 16:09:33 -04:00
Jake Moshenko
98d8e0fe37 Fixes for the uncompressed size backfill script. 2014-09-23 16:06:59 -04:00
Joseph Schorr
86dfca2e3e Add uncompressed size field to the image storage and add a backfill script (which is not yet automatically called) 2014-09-23 14:01:27 -04:00
Joseph Schorr
bdbfb0c6d3 Have the reparse tool also display the from line 2014-09-15 13:55:06 -04:00
Joseph Schorr
91b8ecfb63 Fix broken regex for Dockerfile parsing 2014-09-12 14:01:10 -04:00
Jake Moshenko
18ec0c3e0a Update the audit ancestry tool to not affect pushes in progress. 2014-09-03 13:09:17 -04:00
Joseph Schorr
8866b881db Remove all license code 2014-08-21 17:44:56 -04:00
Joseph Schorr
61cb9d46f7 Fix some of the tools 2014-08-21 15:12:43 -04:00
Joseph Schorr
f24a10839c Add a phpmyadmin tool that can run locally 2014-08-16 21:49:00 -04:00
Jake Moshenko
5645b6da32 Add support for read slave databases. 2014-07-02 19:10:24 -04:00
Jake Moshenko
b47742b011 Update the audit script for geographic distribution. 2014-06-27 17:15:06 -04:00
Jake Moshenko
6047f3759f Remove the placement fallback since the DB has been fully backfilled. 2014-06-24 17:01:23 -04:00
Jake Moshenko
471cb26e07 Add a script to backfill placements. 2014-06-18 13:01:12 -04:00
Jake Moshenko
fb465fd66f Eradicate the s3 versions of the checksum and the uploading flag. 2014-06-12 19:27:43 -04:00
Jake Moshenko
af9b0904d9 Add a script to fix the images. 2014-06-12 14:57:45 -04:00
Jake Moshenko
78c5aec5b9 Switch the checksums to use the registry computed value, remove all assumptions of namespaced paths for legacy storage, fix an upload race condition in the registry code. 2014-06-11 15:37:45 -04:00
Jake Moshenko
e445df69ca Update the monthly revenue script to work with discounts. 2014-06-09 14:44:53 -04:00
Jake Moshenko
0683f2657e Rename the email util to not conflict with a builtin library. 2014-05-28 18:22:48 -04:00
Jake Moshenko
33b43b75c0 Eliminate a lot of the if cases in create_user by separating them out. Add a limit to the number of users which can be created based on the license. Add support for creating and loading licenses. 2014-05-28 13:51:52 -04:00