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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Send pmwiki-users mailing list submissions to > [email protected] > > 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 > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > 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 <[EMAIL PROTECTED]> > Subject: [pmwiki-users] markup expression prob. > To: PmWiki Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] markup expression prob. > To: noskule <[EMAIL PROTECTED]> > Cc: PmWiki Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > 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 > > [email protected] > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > > > > ------------------------------ > > Message: 3 > Date: Thu, 19 Jul 2007 10:17:34 -0400 > From: "The Editor" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] markup expression prob. > To: noskule <[EMAIL PROTECTED]> > Cc: PmWiki Users <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 7/19/07, noskule <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > Subject: [pmwiki-users] Cookbook subversion repository > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] automatic logout ? > To: Christophe David <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] markup expression prob. > To: noskule <[EMAIL PROTECTED]> > Cc: PmWiki Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] Cookbook subversion repository > To: "Patrick R. Michaud" <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 7/19/07, Patrick R. Michaud <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] Cookbook subversion repository > To: The Editor <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > Subject: [pmwiki-users] Not-so-newb farm problem... > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > Subject: Re: [pmwiki-users] Not-so-newb farm problem... > To: Mike Shanley <[EMAIL PROTECTED]> > Cc: [email protected] > Message-ID: <[EMAIL PROTECTED]> > 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 > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > End of pmwiki-users Digest, Vol 25, Issue 41 > ******************************************** > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
