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

Re: [PATCH] Geolocation support

From
AMAlessandro Di Marco <dmr@ethzero.com>
Date
May 23, 2013, 11:58 UTC
Message-ID
<87r4gx3o2r.fsf@ethzero.com>
In-Reply-To
<CALWbr2w3=DTAMkFtJoLF1_X46fefpEq2WtTb7HGiTiOExFHG3w@mail.gmail.com>
Antoine Pelisse <apelisse@gmail.com> writes:
   On Thu, May 23, 2013 at 10:45 AM, Ramkumar Ramachandra
   <artagnon@gmail.com> wrote:
   > Alessandro Di Marco wrote:
   >> this is a hack I made a couple of years ago in order to store my current
   >> location in git commits (I travel a lot and being able to associate a
   >> place with the commit date helps me to quickly recover what were doing
   >> at that time). Long story short, the screeenshot at
   >> http://tinypic.com/r/wars40/5 shows the new gitk interface once this
   >> patch has been integrated. Geolocation is controlled by two envvars
   >> GIT_AUTHOR_PLACE and COMMITTER_PLACE, respectively. You can set them via
   >> something like this:
   >
   > Obviously very interesting.  Now, how do we mainline (parts of) this
   > feature?  I'll raise some questions here:
   I think it could be nice to provide a simple shell script to build the
   location, callable from a post-commit hook, to construct a
   "geolocation" note. Gitk could be programmed to read the notes to get
   the location, but once again, I'm not sure it should be mainlined.

Well, I don't see how the file can be kept synchronized with the tree, but in case it would be also suitable for the author/committer name, email and date :-)

Seriously, this is just a hack; the other nice thing coming out from this patch is what I called the Project's Patch Graph (or PPG), ie. a DAG starting from the project founder location and spreading all over the world (depending on the project of course!) IMHO it's an interesting snapshot of how the project is evolving.

Previous: Antoine PelisseNext: Junio C Hamano
Message 4 of 11 in “Geolocation support”
  1. Geolocation supportAlessandro Di Marco, May 22, 2013
  2. Ramkumar RamachandraMay 23, 2013
  3. Antoine PelisseMay 23, 2013
  4. Alessandro Di MarcoMay 23, 2013
  5. Junio C HamanoMay 23, 2013
  6. Alessandro Di MarcoFeb 9, 2015
  7. Junio C HamanoFeb 9, 2015
  8. Ævar Arnfjörð BjarmasonFeb 9, 2015
  9. Junio C HamanoFeb 9, 2015
  10. Alessandro Di MarcoFeb 12, 2015
  11. Junio C HamanoFeb 12, 2015

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.