You missed "git trac config" On Saturday, August 13, 2016 at 8:50:35 PM UTC+2, Bill Page wrote: > > :( :{ :[ > > wspage@sarah ~ $ git clone > https://github.com/sagemath/git-trac-command.git > Cloning into 'git-trac-command'... > remote: Counting objects: 776, done. > remote: Total 776 (delta 0), reused 0 (delta 0), pack-reused 776 > Receiving objects: 100% (776/776), 380.53 KiB | 174.00 KiB/s, done. > Resolving deltas: 100% (556/556), done. > Checking connectivity... done. > wspage@sarah ~ $ source git-trac-command/enable.sh > Prepending the git-trac command to your search PATH > wspage@sarah ~ $ cd sage > wspage@sarah ~/sage $ git trac checkout 21231 > Loading ticket #21231... > Checking out Trac #21231 remote branch /u/mantepse/21231 -> local > branch t/21231//u/mantepse/21231... > Traceback (most recent call last): > File "/home/wspage/git-trac-command/bin/git-trac", line 18, in <module> > cmdline.launch() > File "/home/wspage/git-trac-command/git_trac/cmdline.py", line 215, in > launch > app.checkout(args.ticket_or_branch, args.branch_name) > File "/home/wspage/git-trac-command/git_trac/app.py", line 116, in > checkout > self._checkout_ticket(int(ticket_or_branch), branch_name) > File "/home/wspage/git-trac-command/git_trac/app.py", line 144, in > _checkout_ticket > self.repo.checkout_new_branch(ticket.branch, branch) > File "/home/wspage/git-trac-command/git_trac/git_repository.py", > line 136, in checkout_new_branch > self.git.fetch('trac', remote) > File "/home/wspage/git-trac-command/git_trac/git_interface.py", line > 341, in meth > return self.execute(git_cmd, *args, **kwds) > File "/home/wspage/git-trac-command/git_trac/git_interface.py", line > 328, in execute > popen_stderr=subprocess.PIPE) > File "/home/wspage/git-trac-command/git_trac/git_interface.py", line > 263, in _run > raise GitError(result) > git_trac.git_error.GitError: git returned with non-zero exit code > (128) when executing "git fetch trac /u/mantepse/21231" > STDERR: fatal: Invalid refspec '/u/mantepse/21231' > > ??? > > On 13 August 2016 at 13:37, leif <not.r...@online.de <javascript:>> > wrote: > > Volker Braun wrote: > >> http://combinat.sagemath.org/doc/developer/git_trac.html > > > > [Hello Google,] > > > > Canonical URLs: ;-) > > > > * > > > http://doc.sagemath.org/html/en/developer/git_trac.html#installing-the-git-trac-command > > > > > * > > > http://doc.sagemath.org/html/en/developer/git_trac.html#check-out-an-existing-ticket > > > > > > > -leif > > > >> In particular check out the sections on "Installing the Git-Trac > >> Command" and then "Check out an Existing Ticket" > >> > >> > >> > >> On Saturday, August 13, 2016 at 6:55:10 PM UTC+2, Bill Page wrote: > >> > >> Sorry, I'm still confused. What exactly do I have to do to checkout > >> a trac ticket for testing and where is it documented? Google > >> searches only seem to mention --dev. > >> > >> > >> On Aug 13, 2016 12:19 PM, "leif" <not.r...@online.de > <javascript:>> > >> wrote: > >> > >> Bill Page wrote: > >> > It seems like I am always confused when I try to use > sagetrac, > >> but I > >> > did not expect this: > >> > > >> > wspage@sarah ~/sage $ ./sage --dev checkout --ticket=21231 > >> > sage-run received unknown option: --dev > >> > usage: sage [options] > >> > Try 'sage -h' for more information. > >> > >> The "devscripts" had been deprecated and have now been removed > (in > >> favour of Volker's "git-trac" command), since 7.0 IIRC. > >> > >> You can install it independently (outside a Sage installation), > >> but it's > >> meanwhile also an optional Sage package (named 'git_trac'). > >> > >> I'd have to dig where it's documented, but > >> > >> git help trac > >> > >> should give you an overview (after installation of course). > >> > >> The source code is on GitHub (vbraun or sagemath, not sure). > >> > >> > >> You can otherwise of course use plain git (cf. "Git the hard > way" in > >> Sage's Developer Guide). > >> > >> > >> -leif > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com <javascript:>. > > To post to this group, send email to sage-...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. >
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.