Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4753)

Issue 71070051: Normalize charm URLs in bundles

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by matthew.scott
Modified:
10 years, 1 month ago
Reviewers:
rharding, mp+209556, benji
Visibility:
Public.

Description

Normalize charm URLs in bundles This branch normalizes the charm URLs in bundles for the GUI, which is expecting at least a <schema>:<series>/<name> style URL. Current proof allows bundles with charms specified only by name, so long as they're in the charmstore already. Caveats: * Currently only works on ingest * Will require a GUI branch as well to add -HEAD if no version number (a smart move anyway) QA: * Run * bin/enqueue --prefix=~bac/charms/bundles * bin/ingest-queued --prefix=~bac/charms/bundles --limit=100 * Get bac's bundle wiki:wiki - the charms should all have a charm: attribute, and the attributes should all be URLs as specified above. https://code.launchpad.net/~makyo/charmworld/charm-urls/+merge/209556 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -24 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/jobs/ingest.py View 5 chunks +12 lines, -6 lines 1 comment Download
M charmworld/jobs/tests/test_ingest.py View 5 chunks +10 lines, -10 lines 0 comments Download
M charmworld/models.py View 3 chunks +13 lines, -4 lines 1 comment Download
M charmworld/tests/test_models.py View 4 chunks +51 lines, -3 lines 0 comments Download
M charmworld/tests/test_search.py View 1 chunk +1 line, -1 line 0 comments Download
M charmworld/views/api/proof.py View 2 chunks +6 lines, -0 lines 0 comments Download
M charmworld/views/tests/test_proof.py View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
10 years, 1 month ago (2014-03-05 23:23:09 UTC) #1
rharding
"Will require a GUI branch as well to add -HEAD if no version number (a ...
10 years, 1 month ago (2014-03-06 13:57:19 UTC) #2
rharding
LGTM with the note on verifying that you can't have mysql-15 and lose that info. ...
10 years, 1 month ago (2014-03-06 14:42:35 UTC) #3
matthew.scott
On 2014/03/06 13:57:19, rharding wrote: > "Will require a GUI branch as well to add ...
10 years, 1 month ago (2014-03-06 16:12:20 UTC) #4
benji
10 years, 1 month ago (2014-03-06 19:39:55 UTC) #5
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b