#11121: Set up good defaults for sage's mercurial
---------------------------+------------------------------------------------
   Reporter:  kini         |       Owner:  tbd                          
       Type:  enhancement  |      Status:  needs_work                   
   Priority:  major        |   Milestone:  sage-4.7                     
  Component:  packages     |    Keywords:  mercurial, git, diff, patches
     Author:               |    Upstream:  N/A                          
   Reviewer:               |      Merged:                               
Work_issues:               |  
---------------------------+------------------------------------------------

Old description:

> As above. See some discussion at [http://groups.google.com/group/sage-
> devel/browse_thread/thread/f5a9c012f6299a9e sage-devel].
>
> This would involve making the Mercurial spkg install an hgrc at
> $SAGE_LOCAL/etc/mercurial/hgrc as well as adding lines to .hg/hgrc in the
> major repositories in the sage distribution (`.`, `data/extcode`,
> `devel/sage/`, `devel/sagenb/`, and `local/bin/`). I exclude `examples`
> and `spkg/base` because they are scheduled to be gotten rid of (#7494 and
> #11073 respectively).
>
> Apply trac_11121-hgrc.data-extcode.patch to data/extcode
>
> Apply trac_11121-hgrc.devel-sage.patch to devel/sage
>
> Apply trac_11121-hgrc.devel-sagenb.patch to devel/sagenb
>
> Apply trac_11121-hgrc.local-bin.patch to local/bin
>
> Apply trac_11121-hgrc.mercurial-spkg.patch to . in
> mercurial-1.6.4.p0.spkg
>
> Put the following lines in $SAGE_ROOT/.hg/hgrc in the distribution
> tarball:
> {{{
> [diff]
> git = true
> }}}

New description:

 Apply trac_11121-hgrc.data-extcode.patch to data/extcode

 Apply trac_11121-hgrc.devel-sage.patch to devel/sage

 Apply trac_11121-hgrc.devel-sagenb.patch to devel/sagenb

 Apply trac_11121-hgrc.local-bin.patch to local/bin

 Apply trac_11121-hgrc.mercurial-spkg.patch to . in mercurial-1.6.4.p0.spkg
 (or download
 [http://sage.math.washington.edu/home/keshav/files/mercurial-1.6.4.p1.spkg
 this ready-made SPKG file] which fixes both #11121 and #11120)

 Apply trac_11121-hgrc.sage.patch to the root repository

 ----

 As above. See some discussion at [http://groups.google.com/group/sage-
 devel/browse_thread/thread/f5a9c012f6299a9e sage-devel].

 This would involve making the Mercurial spkg install an hgrc at
 $SAGE_LOCAL/etc/mercurial/hgrc as well as adding lines to .hg/hgrc in the
 major repositories in the sage distribution (`.`, `data/extcode`,
 `devel/sage/`, `devel/sagenb/`, and `local/bin/`). I exclude `examples`
 and `spkg/base` because they are scheduled to be gotten rid of (#7494 and
 #11073 respectively).

--

Comment(by kini):

 Replying to [comment:14 jhpalmieri]:
 > Replying to [comment:12 dimpase]:
 > > nothing must be done to local/bin in your patches, which doesn't even
 exist in a source distribution. You need to patch the source instead.
 >
 > {{{$SAGE_ROOT/local/bin}}} is the Sage scripts repo, so it's fine to
 patch it.  Or maybe I don't understand your complaint.
 >
 > Kini, do you also want to patch the Sage root repo?  Its spkg-install
 file is {{{SAGE_ROOT/spkg/root-spkg-install}}}.

 Got it. Yes, I'll do that...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11121#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to