[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git cl
From: |
James |
Subject: |
Re: git cl |
Date: |
Wed, 7 Oct 2015 13:08:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Phil,
On 05/10/15 16:19, Phil Holmes wrote:
> I now have git-cl mostly working with the Allura issue tracker. Please
> note that I've not really followed any coding standards, the error
> handling is rudimentary to say the least, and any competent Python
> programmer would prbably have kittens over some of what I've done.
> However, it does allow new issues to be created for new patches, and
> existing patch issues to be updated.
>
> You should be able to use it by pulling from the git-cl repository, and
> immediately running "git cl config". As part of the configuration you
> will need to supply a "bearer token", which uniquely identifies you. You
> make one at https://sourceforge.net/auth/oauth/ by adding an application
> (I used one called git-cl).
>
> Trevor has requested one enhancement: setting the owner if someone starts
> work on an old issue with a new patch. I suggest we start a tracker for
> enhancement and bug reports for git-cl and I'll work on them as I can.
>
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>
>
I tried to make a newissue but associate with one of your test Allura
incidents and I get this
--snip--
address@hidden ~/lilypond-git (dev/local_working)$ git-cl upload
master
Documentation/notation/notation.itely | 1 +
1 file changed, 1 insertion(+)
This branch is associated with Rietveld issue 269210043. Adding patch to
that issue.
Message describing this patch set: blah
Upload server: codereview.appspot.com (change with -s/--server)
Loaded authentication cookies from /home/jlowe/.codereview_upload_cookies
Issue updated. URL: http://codereview.appspot.com/269210043
We were not able to associate this patch with a google tracker issue.
Please enter a valid google tracker issue number
(or enter nothing to create a new issue): 4628
Traceback (most recent call last):
File "/home/jlowe/bin/git-cl", line 629, in <module>
sys.exit(main(sys.argv))
File "/home/jlowe/bin/git-cl", line 623, in main
return func(argv[2:])
File "/home/jlowe/bin/git-cl", line 342, in CmdUpload
issueId = projecthosting_upload.upload(issue, patchset, subject,
desc, issueId)
File "/home/jlowe/git-cl/projecthosting_upload.py", line 182, in upload
status = patchy.upload(issue, patchset, subject, description, issue_id)
File "/home/jlowe/git-cl/projecthosting_upload.py", line 173, in upload
issue_id = allura_issues.update_issue(issue_id, description)
File "/home/jlowe/git-cl/allura_issues.py", line 68, in update_issue
filehandle = urllib.urlopen (allura_api + allura_issue_id + "/save",
data_encoded)
TypeError: cannot concatenate 'str' and 'int' objects
address@hidden ~/lilypond-git (dev/local_working)$
--snip--
James
- git cl, Phil Holmes, 2015/10/08
Re: git cl,
James <=