updating www.gnucash.org

Derek Atkins warlord at MIT.EDU
Fri Apr 7 20:24:34 EDT 2006


Josh Sled <jsled at asynchronous.org> writes:

> On Fri, 2006-04-07 at 12:09 -0500, Linas Vepstas wrote:
>> Remind me again what needs to be done; i.e. the addr of the svn
>> repository and how to pull from it.
>
> $ svn checkout http://svn.gnucash.org/repo/htdocs/trunk [local-dir-name]
> $ svn update
>
> Thought it may be that we acutally want to put the
> synced-with-the-website sources on a branch, so that trunk can be for
> development commits, and one needs to be somewhat explicit to "publish"
> content.  Maybe http://svn.gnucash.org/repo/htdocs/branches/published ?

I agree, we should do this.  I just created this branch.  So, yes, the
command you should use is:

  svn checkout http://svn.gnucash.org/repo/htdocs/branches/published [local-dir]
and then later

  svn update

>> My plan was: 
>> -- pull down svn once by hand, make sure its OK.
>> -- Copy it into place.
>> -- set up a cron job to pull nightly
>> -- set up some sort of "port knocker" that would initiate 
>>    a pull on demand.  Do you ave any preferences/suggestions 
>>    for how to do this?
>
> That sounds right to me.  The actual "port-knocker" is a function of
> what you're comfortable with:

Agreed...

[snip]
> I think (1) -- or maybe (1) with a secret value checked for as well (to
> prevent being triggered by port-scans) -- is actually pretty reasonable,
> without the (modest) complexities of (2) or (3).  Of course, we'd (need
> to) take care to not check any secret/magic values into SVN, but that's
> not too hard.

I was thinking that the server-side "knocker" script would be hand
created on the server in order to "hide" the magic port number(s).
But personally I think #1 is just fine.  As a preliminary measure we
can firewall the port so only the gnucash server IP Address can knock.

I guess it depends how worried Linas is of false triggers.  I think my
network pipe is bigger than his, unless he's changed his service.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list