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
(103)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 696041: Allow the base URL to be a free-form string.

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 9 months ago by evan
Modified:
15 years, 9 months ago
Reviewers:
Andi Albrecht , GvR
Visibility:
Public.
Allow the base URL to be a free-form string. We will still fail with a bad URL if we go down the "fetch base" codepath, but as review metadata, we no longer require a valid URL. This is because db.Link() only allows a small set of URL schemes (svn:, http:) and importantly not other valid URLs, such as git: or svn+ssh:. For people who upload from projects where we don't fetch base files, it's nice to use the base URL metadata to show which project the code comes from.

Patch Set 1 #

Total comments: 1
Created: 15 years, 9 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -13 lines) Patch
M codereview/engine.py View 1 chunk +5 lines, -1 line 0 comments Download
M codereview/views.py View 2 chunks +0 lines, -12 lines 1 comment Download
Total messages: 4
|
evan
Not sure how to test this, but it seems to work.
15 years, 9 months ago (2010年03月23日 19:32:17 UTC) #1
Not sure how to test this, but it seems to work.
Sign in to reply to this message.
Andi Albrecht
http://codereview.appspot.com/696041/diff/1/3 File codereview/views.py (left): http://codereview.appspot.com/696041/diff/1/3#oldcode162 codereview/views.py:162: else: Are you sure that you want to remove ...
15 years, 9 months ago (2010年03月24日 06:16:57 UTC) #2
http://codereview.appspot.com/696041/diff/1/3
File codereview/views.py (left):
http://codereview.appspot.com/696041/diff/1/3#oldcode162
codereview/views.py:162: else:
Are you sure that you want to remove this check? If I'm not mistaken
IssueBaseForm is only used in the web ui where this check would be appropiate
when uploading a new patch. What about moving this check to NewForm instead?
Issues created with upload.py won't see the NewForm at all.
Sign in to reply to this message.
evan
Sorry, I realized I didn't give you enough context. I updated the review description with ...
15 years, 9 months ago (2010年03月24日 16:50:46 UTC) #3
Sorry, I realized I didn't give you enough context. I updated the review
description with another paragraph...
Sign in to reply to this message.
Andi Albrecht
I was just wondering if we should keep the db.Link validation when a new issue ...
15 years, 9 months ago (2010年03月24日 18:04:11 UTC) #4
I was just wondering if we should keep the db.Link validation when a new
issue is created using the web form (but not when it's edited). However, the
URL validation isn't sufficient either way if we need to download the base
files. It should somehow verify that the computed URLs for base files are
fine. But this should go into a different patch :)
LGTM
On Wed, Mar 24, 2010 at 5:50 PM, <evan@chromium.org> wrote:
> Sorry, I realized I didn't give you enough context. I updated the
> review description with another paragraph...
>
>
> http://codereview.appspot.com/696041/show
>
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

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