Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(112)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 21790045: Bundle proofing plus migration.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by bac
Modified:
12 years, 2 months ago
Reviewers:
mp+193992, gary.poster , curtis
Visibility:
Public.
Bundle proofing plus migration. Bundles are only rejected if there are errors not just warnings. A migration script is provided that will remove all existing bundles. The good bundles will later be repopulated when ingest runs again. https://code.launchpad.net/~bac/charmworld/allow-bundles-with-warnings/+merge/193992 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Bundle proofing plus migration. #

Patch Set 3 : Bundle proofing plus migration. #

Created: 12 years, 2 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -9 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/jobs/ingest.py View 1 2 chunks +7 lines, -1 line 0 comments Download
M charmworld/jobs/tests/test_ingest.py View 2 chunks +11 lines, -4 lines 0 comments Download
M charmworld/migrations/migrate.py View 1 1 chunk +3 lines, -1 line 0 comments Download
A charmworld/migrations/versions/021_drop_unproofed_bundles.py View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M charmworld/migrations/versions/tests/test_migrations.py View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M charmworld/search.py View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M charmworld/tests/test_search.py View 1 2 2 chunks +9 lines, -1 line 0 comments Download
Total messages: 6
|
bac
Please take a look.
12 years, 2 months ago (2013年11月05日 19:17:21 UTC) #1
Please take a look.
Sign in to reply to this message.
gary.poster
LGTM with a few comments added. Thank you! https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py File charmworld/jobs/ingest.py (right): https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py#newcode73 charmworld/jobs/ingest.py:73: CHARMTOOL_ERROR_CODE ...
12 years, 2 months ago (2013年11月05日 19:49:05 UTC) #2
LGTM with a few comments added. Thank you!
https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py
File charmworld/jobs/ingest.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py#newc...
charmworld/jobs/ingest.py:73: CHARMTOOL_ERROR_CODE = 200
This is so seemingly arbitrary that it is calling out to me for some comments
explaining the purpose, context, and meaning. Could be here, or down in the
"proof" method.
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/migrate.py
File charmworld/migrations/migrate.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/migrate....
charmworld/migrations/migrate.py:38: db is the pymongo db instance for our
datastore. Charms are in db.charms
A docstring! Yay! Don't leave it all by its lonesome: explain what the heck
the index_client is!
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/versions...
File charmworld/migrations/versions/021_drop_unproofed_bundles.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/versions...
charmworld/migrations/versions/021_drop_unproofed_bundles.py:12:
db.bundles.drop()
I like that kind of simplicity.
Sign in to reply to this message.
bac
Please take a look. https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py File charmworld/jobs/ingest.py (right): https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py#newcode73 charmworld/jobs/ingest.py:73: CHARMTOOL_ERROR_CODE = 200 On 2013年11月05日 ...
12 years, 2 months ago (2013年11月05日 19:59:19 UTC) #3
Please take a look.
https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py
File charmworld/jobs/ingest.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/jobs/ingest.py#newc...
charmworld/jobs/ingest.py:73: CHARMTOOL_ERROR_CODE = 200
On 2013年11月05日 19:49:05, gary.poster wrote:
> This is so seemingly arbitrary that it is calling out to me for some comments
> explaining the purpose, context, and meaning. Could be here, or down in the
> "proof" method.
Done.
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/migrate.py
File charmworld/migrations/migrate.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/migrate....
charmworld/migrations/migrate.py:38: db is the pymongo db instance for our
datastore. Charms are in db.charms
On 2013年11月05日 19:49:05, gary.poster wrote:
> A docstring! Yay! Don't leave it all by its lonesome: explain what the heck
> the index_client is!
Done.
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/versions...
File charmworld/migrations/versions/021_drop_unproofed_bundles.py (right):
https://codereview.appspot.com/21790045/diff/1/charmworld/migrations/versions...
charmworld/migrations/versions/021_drop_unproofed_bundles.py:12:
db.bundles.drop()
Indeed.
Sign in to reply to this message.
curtis
Thank you Brad. LGTM.
12 years, 2 months ago (2013年11月05日 20:46:38 UTC) #4
Thank you Brad. LGTM.
Sign in to reply to this message.
bac
Please take a look.
12 years, 2 months ago (2013年11月05日 22:00:57 UTC) #5
Please take a look.
Sign in to reply to this message.
gary.poster
LGTM * 2. Thank you
12 years, 2 months ago (2013年11月05日 22:14:47 UTC) #6
LGTM * 2. Thank you
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /