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

Re: recipe to use git for deployment

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
May 5, 2012, 05:30 UTC
Message-ID
<4FA4BAF3.10601@gmail.com>
In-Reply-To
<1336190286-sup-3813@nixos>
On 5/4/2012 11:10 PM, Marc Weber wrote:
Show 5 quoted lines
>
> If you really care that much about history why not push a zip file
> using git archive --format=zip and unpack that on the deployment
> server instead?
>

I summon forth the ents to do my bidding with one command to find them: --format=tar one command to transform them: --prefix=deployed/path one command to arm them: config tar.umask (executable bits) one command to gather them: tar -A and one command to bind them: gzip

(We don't have the new tar with the transform option)

They are faithful and true and have won many battles, but I fear they may be too slow and lumbering for the gathering whirlwind of patches about to descend from above and legion of servers encircling them on all sides.

Interestingly, git-archive was not intended for deployment, but it does pretty good at it.

(Sorry, I haven't even read LOTR, but couldn't resist the opportunity to use the word 'ent' after reading about it in git-glossary ;)

v/r, neal

Previous: Marc WeberNext: Sitaram Chamarty
Message 5 of 9 in “recipe to use git for deployment”
  1. Neal KreitzingerMay 5, 2012
  2. Marc WeberMay 5, 2012
  3. Neal KreitzingerMay 5, 2012
  4. Marc WeberMay 5, 2012
  5. Neal KreitzingerMay 5, 2012
  6. Sitaram ChamartyMay 5, 2012
  7. Neal KreitzingerMay 16, 2012
  8. Junio C HamanoMay 5, 2012
  9. Ævar Arnfjörð BjarmasonMay 5, 2012

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.