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

Re: problem with not being able to enforce git content filters

From
SBStas Bekman <stas@stason.org>
Date
Oct 16, 2018, 23:48 UTC
Message-ID
<038d40b9-0b35-b93f-9377-7c0bb12bce8e@stason.org>
In-Reply-To
<20181016232636.GF432229@genre.crustytoothpaste.net>
Show 8 quoted lines
>> And the devs honestly try to do their best to remember to configure the
>> filters, but for some reason they disappear for them, don't ask me why,
>> I don't know. This is an open source project team, not a work place.
> 
> This sounds like it could be easily solved by continuous integration.
> You could set up a job on any of a variety of services that checks that
> a pull request or other commit is clean when when the filter runs.  If
> it doesn't pass, the code doesn't merge.

This is an excellent idea wrt to PRs. Thank you, Brian! I will implement that.

It doesn't help with direct commits to master, since CI would be detecting it after it was committed. And when that happens we all know that already because 'git pull' fails.

-- 
________________________________________________
Stas Bekman       <'))))><       <'))))><
https://stasosphere.com  https://chestofbooks.com
https://experientialsexlab.com https://stason.org
https://stasosphere.com/experience-life/my-books
Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 7 in “problem with not being able to enforce git content filters”
  1. Stas BekmanOct 16, 2018
  2. Ævar Arnfjörð BjarmasonOct 16, 2018
  3. Stas BekmanOct 16, 2018
  4. brian m. carlsonOct 16, 2018
  5. Stas BekmanOct 16, 2018
  6. brian m. carlsonOct 17, 2018
  7. Stas BekmanOct 17, 2018

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.