git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Use case: GIT to manage transactions in a CMS?

From
Andreas Ericsson <ae@op5.se>
Date
Feb 15, 2006, 11:45 UTC
Message-ID
<43F31454.8060704@op5.se>
In-Reply-To
<43F30602.500@itaapy.com>
J. David Ibáñez wrote:
Show 16 quoted lines
> Hello,
> 
> I am working on a project (a content management system) where the data
> is stored as files and folders.
> 
> Currently, for persistance and transactions we use the ZODB [1] object
> database. But our goal is to move away from the ZODB and use directly
> the file system, as it will allow us to use all the good unix tools.
> 
> We are using git to manage the source code. And now we are exploring git
> to see if it can do the job of transactions, so that each transaction in
> the system will be a git commit.
> 
> One problem we have found is that we can not commit empty directories (what
> we need to do). Any idea how to solve or work-around this constraint?
> 
$ touch empty/dir/.placeholder
> Any suggestions and input on this exotic use case for git will be very
> welcomed.
> 
Sounds cool. I'll have to give it a whirl when you've got something to show.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: J. David IbáñezNext: J. David Ibáñez
Message 2 of 4 in “Use case: GIT to manage transactions in a CMS?”
  1. J. David IbáñezFeb 15, 2006
  2. Andreas EricssonFeb 15, 2006
  3. J. David IbáñezFeb 17, 2006
  4. Junio C HamanoFeb 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.