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

ag, **, and the GPL

From
MKMatthew Kaniaris <mkaniaris@gmail.com>
Date
Nov 18, 2014, 04:50 UTC
Message-ID
<CACr0F2iGY_vxWzsNaPQNJ2cLUDRZPS70i79EhyA9OkA7qLaUQQ@mail.gmail.com>

The Silver Search (https://github.com/ggreer/the_silver_searcher), is a small, open source, cross platform searching utility written as a replacement for ack. One of the major benefits of Ag (and a source for much of its speed) is that it obeys .gitignore. However, Ag currently treats gitignores as regexs which produces incorrect results for e.g. **. I'd like to add support to ag to obey the .gitignore spec but I'm not keen on implementing yet another fnmatch clone. Ag is licensed under the Apache License Version 2.0 which to the best of my understanding is incompatible with the GPLv2. Would you grant me permission to reuse wildmatch.c (and necessary includes) for use in Ag?

-Matt Kaniaris
Next: Duy Nguyen
Message 1 of 7 in “ag, **, and the GPL”
  1. Matthew KaniarisNov 18, 2014
  2. Duy NguyenNov 18, 2014
  3. David TurnerNov 18, 2014
  4. Duy NguyenNov 19, 2014
  5. David TurnerNov 19, 2014
  6. Jonathan NiederNov 18, 2014
  7. Duy NguyenNov 19, 2014

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.