[pmwiki-users] Cookbook subversion repository

Frank Graffagnino frankie at graffagnino.net
Thu Jul 19 13:03:22 CDT 2007


Pm,

I'm sure you have probably decided to stick with subversion if you
decide to do this, but I thought I would mention "git" just in case
you (or other readers) hadn't looked at it.

We use it on a few projects, and it is wonderful for us.  This is the
same version control used for the linux kernel, xorg, wine, and lots
of others..

anyways... just in case you have not completely settled on subversion,
i thought i would pass it on...

http://git.or.cz/

FG

P.S. - Geaux Cajuns!


On 7/19/07, pmwiki-users-request at pmichaud.com
<pmwiki-users-request at pmichaud.com> wrote:
> Send pmwiki-users mailing list submissions to
>         pmwiki-users at pmichaud.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> or, via email, send a message with subject or body 'help' to
>         pmwiki-users-request at pmichaud.com
>
> You can reach the person managing the list at
>         pmwiki-users-owner at pmichaud.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pmwiki-users digest..."
>
>
> Today's Topics:
>
>    1. markup expression prob. (noskule)
>    2. Re: markup expression prob. (noskule)
>    3. Re: markup expression prob. (The Editor)
>    4. Cookbook subversion repository (Patrick R. Michaud)
>    5. Re: automatic logout ? (Patrick R. Michaud)
>    6. Re: markup expression prob. (Patrick R. Michaud)
>    7. Re: Cookbook subversion repository (The Editor)
>    8. Re: Cookbook subversion repository (Patrick R. Michaud)
>    9. Not-so-newb farm problem... (Mike Shanley)
>   10. Re: Not-so-newb farm problem... (Patrick R. Michaud)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 19 Jul 2007 14:11:38 +0200
> From: noskule <noskule at gmx.net>
> Subject: [pmwiki-users] markup expression prob.
> To: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <469F54FA.3090305 at gmx.net>
> Content-Type: text/plain; charset=ISO-8859-15
>
> hi list
> If a value in a substring contains a linebreak the substring doesn't
> work. Is there a way arount it?
>
> I made an example in http://pmwiki.org/wiki/Main/WikiSandbox
>
> thanks for any hints
> nos
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 19 Jul 2007 15:29:04 +0200
> From: noskule <noskule at gmx.net>
> Subject: Re: [pmwiki-users] markup expression prob.
> To: noskule <noskule at gmx.net>
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <469F6720.30706 at gmx.net>
> Content-Type: text/plain; charset=ISO-8859-1
>
> noskule schrieb:
> > hi list
> > If a value in a substring contains a linebreak the substring doesn't
> > work. Is there a way arount it?
> >
> > I made an example in http://pmwiki.org/wiki/Main/WikiSandbox
> here a better place: http://pmwiki.org/wiki/PmWiki/MarkupExpressionsTest
> >
> > thanks for any hints
> > nos
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 19 Jul 2007 10:17:34 -0400
> From: "The Editor" <editor at fast.st>
> Subject: Re: [pmwiki-users] markup expression prob.
> To: noskule <noskule at gmx.net>
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID:
>         <fec7cf150707190717q3ae251daoe81499d75e25b66d at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 7/19/07, noskule <noskule at gmx.net> wrote:
> > noskule schrieb:
> > > hi list
> > > If a value in a substring contains a linebreak the substring doesn't
> > > work. Is there a way arount it?
> > >
> > > I made an example in http://pmwiki.org/wiki/Main/WikiSandbox
> > here a better place: http://pmwiki.org/wiki/PmWiki/MarkupExpressionsTest
> > >
> > > thanks for any hints
> > > nos
>
>
> I notice it also throws an error, with full path disclosure.  The work
> around is to create your own markup expression function (rather than
> substr) that takes the ptv name only as a parameter, or perhaps
> page:name, parses that and then extracts the value in the function.
>
> Something like:
>
> {(mysubstr comment 0 12)}
>
> Cheers,
> Dan
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 19 Jul 2007 10:32:27 -0500
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: [pmwiki-users] Cookbook subversion repository
> To: pmwiki-users at pmichaud.com
> Message-ID: <20070719153227.GB1831 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> I'm looking into the possibility of building
> a subversion repository for cookbook recipes
> and I have some questions:
>
> 1.  How many recipe developers want this and
>     would use it?
>
> 2.  Where should we host it?  Our options:
>     - as part of the PmWiki repository at svn://www.pmwiki.org/
>     - within the PmWiki project at SourceForge
>     - as a separate SourceForge project (e.g., PmWikiCookbook)
>
> 3.  Any thoughts about how it would be organized?
>     I'm thinking a top-level 'cookbook/' directory,
>     with subdirectories beneath that for each recipe.
>     But I don't quite see that it will be straightforward
>     for people to keep recipes up-to-date by a simple
>     "svn update".
>
> 4.  How to synchronize changes between the cookbook repository
>     and the online cookbook?
>
> Comments welcomed,
>
> Pm
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 19 Jul 2007 10:38:27 -0500
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] automatic logout ?
> To: Christophe David <pmwiki at christophedavid.org>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20070719153827.GC1831 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Jul 19, 2007 at 09:37:01AM +0200, Christophe David wrote:
> > >>Is there a way to force users to log on again after a specified time,
> > >>so that their access rights are not left forever (?) on a shared PC if
> > >>they do not logout ?
> > >
> > > # automatically log browser out after 15 minutes of inactivity
> > >ini_set('session.cookie_lifetime', time() + 15 * 60);
> >
> > On the server I tested (Windows 2003, Apache)
> >
> > ini_get('session.cookie_lifetime') returns nothing.
>
> Interesting.  It should probably have at least returned "0".
> Oh well.
>
> > In php.ini, it is set to 43200.
>
> Also interesting -- that must be some local default.  This means
> that the session will last for 12 hours, or up to the value of
> session.gc_maxlifetime (defaults to 24 minutes).
>
> > As ini_get('session.cookie_lifetime') returns initially nothing,
> > wouldn't it be safer to include  in the (farm)config.php)
> > ini_set('session.cookie_lifetime', time() +timeout);  ?
>
> At any rate, there's a special-purpose session_set_cookie_params()
> function that seems to do exactly what you want.  So, to automatically
> log out after 10 minutes, try (in local/(farm)config.php):
>
>     session_set_cookie_params(10 * 60);
>
> Pm
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 19 Jul 2007 10:46:07 -0500
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] markup expression prob.
> To: noskule <noskule at gmx.net>
> Cc: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <20070719154607.GD1831 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Jul 19, 2007 at 02:11:38PM +0200, noskule wrote:
> > hi list
> > If a value in a substring contains a linebreak the substring doesn't
> > work. Is there a way arount it?
>
> Not presently.  Markup expressions aren't (yet?) designed to work
> with things that have newlines in them.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 19 Jul 2007 11:49:03 -0400
> From: "The Editor" <editor at fast.st>
> Subject: Re: [pmwiki-users] Cookbook subversion repository
> To: "Patrick R. Michaud" <pmichaud at pobox.com>
> Cc: pmwiki-users at pmichaud.com
> Message-ID:
>         <fec7cf150707190849g6c640edy8931d7a6102cf946 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 7/19/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > I'm looking into the possibility of building
> > a subversion repository for cookbook recipes
> > and I have some questions:
> >
> > 1.  How many recipe developers want this and
> >    would use it?
> >
> > 2.  Where should we host it?  Our options:
> >    - as part of the PmWiki repository at svn://www.pmwiki.org/
> >    - within the PmWiki project at SourceForge
> >    - as a separate SourceForge project (e.g., PmWikiCookbook)
> >
> > 3.  Any thoughts about how it would be organized?
> >    I'm thinking a top-level 'cookbook/' directory,
> >    with subdirectories beneath that for each recipe.
> >    But I don't quite see that it will be straightforward
> >    for people to keep recipes up-to-date by a simple
> >    "svn update".
> >
> > 4.  How to synchronize changes between the cookbook repository
> >    and the online cookbook?
> >
> > Comments welcomed,
> >
> > Pm
>
>
> Sorry for not being very informed, but could someone give a brief idea
> how subversion's work, and how hard they are to use? I'd be
> interested, though don't really know what is involved.
>
> Cheers,
> Dan
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 19 Jul 2007 11:04:13 -0500
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] Cookbook subversion repository
> To: The Editor <editor at fast.st>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20070719160413.GF1831 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Jul 19, 2007 at 11:49:03AM -0400, The Editor wrote:
> > On 7/19/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > >I'm looking into the possibility of building
> > >a subversion repository for cookbook recipes
> > >and I have some questions:
> > >...
> >
> > Sorry for not being very informed, but could someone give a brief idea
> > how subversion's work, and how hard they are to use? I'd be
> > interested, though don't really know what is involved.
>
> You might start with:
>
>   http://en.wikipedia.org/wiki/Version_control
>   http://en.wikipedia.org/wiki/Subversion_%28software%29
>
> Essentially, Subversion is a version control system -- it allows
> multiple developers to coordinate changes to a common code library.
> It takes care of keeping track of all versions of the library,
> as well as helping to resolve conflicts when two people are working
> on the same component at the same time.
>
> I use Subversion to maintain the PmWiki codebase, but as yet
> there's only one "committer" (me).  If/when we have others who
> want to directly modify the PmWiki core code, then I can set
> up accounts so that others can contribute changes directly to
> the repository.
>
> Cookbook recipes that end up with multiple maintainers and
> contributors could potentially use a Subversion repository
> to coordinate changes and patches among the multiple authors.
>
> Note that in suggesting that we have a repository available
> I'm *not* suggesting that we remove the existing cookbook
> mechanisms.  I still want people who don't have access to or
> experience with Subversion to be able to contribute recipe scripts.
>
> Pm
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 19 Jul 2007 12:06:27 -0400
> From: Mike Shanley <thebarmy at omniversalism.com>
> Subject: [pmwiki-users] Not-so-newb farm problem...
> To: pmwiki-users at pmichaud.com
> Message-ID: <469F8C03.6000207 at omniversalism.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi!
>
> This is my first post to the list. Thanks in advance for any help...
>
> I'm trying to work out the kinks of a wikifarm. Right now, I just have
> the home-wiki and one 'field'. Though they're under different domains,
> they're hosted in the same place. The home wiki works perfectly.
>
> Now, though the field wiki can edit previously created pages, it can't
> create new ones. wiki.d is chmod to 777 in the home wiki and the field.
> Also, the field will load the sidebar and the mainpage (from Site and
> Main) but when I try to navigate into the PmWiki group, it gives a 404,
> just like when trying to make a new page.
>
> I've been going in little circles, and I haven't been able to find any
> documentation that can help me out of this problem. Any ideas?
>
> Thanks.
> Mike
>
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 19 Jul 2007 11:28:34 -0500
> From: "Patrick R. Michaud" <pmichaud at pobox.com>
> Subject: Re: [pmwiki-users] Not-so-newb farm problem...
> To: Mike Shanley <thebarmy at omniversalism.com>
> Cc: pmwiki-users at pmichaud.com
> Message-ID: <20070719162833.GG1831 at host.pmichaud.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Thu, Jul 19, 2007 at 12:06:27PM -0400, Mike Shanley wrote:
> > I'm trying to work out the kinks of a wikifarm. Right now, I just have
> > the home-wiki and one 'field'. Though they're under different domains,
> > they're hosted in the same place. The home wiki works perfectly.
> >
> > Now, though the field wiki can edit previously created pages, it can't
> > create new ones. wiki.d is chmod to 777 in the home wiki and the field.
> > Also, the field will load the sidebar and the mainpage (from Site and
> > Main) but when I try to navigate into the PmWiki group, it gives a 404,
> > just like when trying to make a new page.
> >
> > I've been going in little circles, and I haven't been able to find any
> > documentation that can help me out of this problem. Any ideas?
>
> Are there any urls we could look at?
>
> When you say "they're hosted in the same place", do you mean they're
> hosted on the same server but in different directories?
>
> Perhaps you could give us a directory layout that describes
> a bit more how your farm is set up?  And are there any special
> config.php or farmconfig.php settings you've made?
>
> Pm
>
>
>
> ------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> End of pmwiki-users Digest, Vol 25, Issue 41
> ********************************************
>



More information about the pmwiki-users mailing list