darcs

Patch 575 Resolve issue 1611: amend-record now forbids adding changes to a tag

Title Resolve issue 1611: amend-record now forbids adding changes to a tag
Superseder Nosy List iago
Related Issues amend-record of tags should be illegal
View: 1611
Status accepted Assigned To iago
Milestone

Created on 2011-04-02.12:54:41 by iago, last changed 2011-06-07.06:55:22 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
improve-resolution-of-issue1611.dpatch iago, 2011-04-05.00:50:05 application/octet-stream
resolve_issue_1611.dpatch iago, 2011-04-02.12:54:41 application/octet-stream
unnamed iago, 2011-04-05.00:50:05 text/html
See mailing list archives for discussion on individual patches.
Messages
msg13878 (view) Author: ganesh Date: 2011-04-03.11:00:59
Couple of comments:

 - I think the patch description actually has to be "resolve issue1611" 
not "resolve issue 1611" - though perhaps we should improve the 
recogniser. This is in screened now so something to remember for the 
future, rather than changing this patch.

 - The message shouldn't be printed if the user did actually supply --
edit-long-comment

 - The comment "refactoring needed to get witnesses compiling" refers to 
a change you made rather than the new state of the code, and therefore 
better belongs in the patch comment rather than the code itself. I'm 
ambivalent about whether the comment is needed at all, but if we keep it 
something like "auxiliary function needed because the witness types 
differ for the isTag case" would be better.

 - How about a regression test?
msg13894 (view) Author: iago Date: 2011-04-05.00:50:05
>From my point of view tags should be filtered out in case you are just
trying to add new changes to a patch... maybe warning with "Tag X was
skipped" in a similar way that you warn when trying to amend a dependent
patch. Anyway, I fixed it in a easy way and it is better than nothing.
NB: I'm assuming that it should be legal any kind of tag metadata update.

On Sun, Apr 3, 2011 at 12:01 PM, Ganesh Sittampalam <bugs@darcs.net> wrote:

>
> New submission from Ganesh Sittampalam <ganesh@earth.li>:
>
> Couple of comments:
>
>  - I think the patch description actually has to be "resolve issue1611"
> not "resolve issue 1611" - though perhaps we should improve the
> recogniser. This is in screened now so something to remember for the
> future, rather than changing this patch.
>
As I said you I write it in that way because googling I saw some examples
that follow that pattern
http://www.google.pt/search?q=%22resolve+issue%22+darcs , today I re-visited
those examples and I see that most of them are from Eric, Florent, etc (i.e.
core team members). Was the convention different at some point in the past?

>
>  - The message shouldn't be printed if the user did actually supply --
> edit-long-comment
>
>  - The comment "refactoring needed to get witnesses compiling" refers to
> a change you made rather than the new state of the code, and therefore
> better belongs in the patch comment rather than the code itself. I'm
> ambivalent about whether the comment is needed at all, but if we keep it
> something like "auxiliary function needed because the witness types
> differ for the isTag case" would be better.
>
>  - How about a regression test?


> ----------
> status: needs-screening -> review-in-progress
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/patch575>
> __________________________________
>

-- 
Iago Abal Rivas
Attachments
msg14019 (view) Author: darcswatch Date: 2011-05-09.05:55:35
This patch bundle (with 2 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe
msg14020 (view) Author: darcswatch Date: 2011-05-09.05:55:35
This patch bundle (with 2 patches) was just applied to the repository http://darcs.net/screened.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_screened.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe
msg14503 (view) Author: darcswatch Date: 2011-06-07.06:55:22
This patch bundle (with 2 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe
History
Date User Action Args
2011-04-02 12:54:41iagocreate
2011-04-03 10:51:57ganeshsetissues: + amend-record of tags should be illegal
2011-04-03 11:01:00ganeshsetstatus: needs-screening -> review-in-progress
messages: + msg13878
2011-04-03 11:01:11ganeshsetstatus: review-in-progress -> followup-requested
assignedto: iago
2011-04-05 00:50:06iagosetfiles: + unnamed, improve-resolution-of-issue1611.dpatch
messages: + msg13894
2011-04-05 00:50:21darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe
2011-05-09 05:41:56ganeshsetstatus: followup-requested -> needs-review
2011-05-09 05:55:35darcswatchsetstatus: needs-review -> accepted
messages: + msg14019
2011-05-09 05:55:35darcswatchsetmessages: + msg14020
2011-05-09 17:40:33ganeshsetstatus: accepted -> needs-review
2011-05-10 18:06:07darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-9b6da6188663e096ac130714ebb47dddabe82dbe
2011-06-07 06:30:13ganeshsetstatus: needs-review -> accepted-pending-tests
2011-06-07 06:55:22darcswatchsetstatus: accepted-pending-tests -> accepted
messages: + msg14503