List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Hand the repo configuration to the filters
@ 2011-03-23 14:03 mailings
  2011-03-23 14:03 ` [PATCH v4 1/4] new_filter: determine extra_args from filter type mailings
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mailings @ 2011-03-23 14:03 UTC (permalink / raw)


From: Ferry Huberts <ferry.huberts at pelagic.nl>

Changes compared to v3:
- Incorporated feedback from Lars

Changes compared to v2:
- Split out the first 2 patches into a seperate thread
- Incorporated feedback from Lars

Changes compared to v1:
- Rewritten to hand the repo configuration via environment variables


I have a server setup in which each repo has a trac instance and
for the commit filter I really need to know with which repo I'm
dealing in order to be able to resolve the #123 ticket numbers
into hyperlinks into the correct trac instance.

Lars, patch 3 has become quite a bit more complex. However, adding
      environment variables is a matter of simply extending the
      env_vars array in the prepare_env function; only the code
      that processes that array has become a bit more complex.


Ferry Huberts (5):
  new_filter: determine extra_args from filter type
  cgit_open_filter: also take the repo as a parameter
  cgit_open_filter: hand down repo configuration to script
  filters: document environment variables in filter scripts
  debug logging

 cgit.c                         |   27 +++++++--
 cgit.h                         |    6 ++-
 cgitrc.5.txt                   |   47 ++++++++++++++--
 filters/commit-links.sh        |   11 ++++
 filters/syntax-highlighting.sh |   11 ++++
 shared.c                       |  119 +++++++++++++++++++++++++++++++++++++++-
 ui-commit.c                    |    6 +-
 ui-repolist.c                  |    2 +-
 ui-snapshot.c                  |    2 +-
 ui-summary.c                   |    2 +-
 ui-tree.c                      |    2 +-
 11 files changed, 213 insertions(+), 22 deletions(-)

-- 
1.7.4





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-23 14:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23 14:03 [PATCH v4 0/4] Hand the repo configuration to the filters mailings
2011-03-23 14:03 ` [PATCH v4 1/4] new_filter: determine extra_args from filter type mailings
2011-03-23 14:03 ` [PATCH v4 2/4] cgit_open_filter: also take the repo as a parameter mailings
2011-03-23 14:03 ` [PATCH v4 3/4] cgit_open_filter: hand down repo configuration to script mailings
2011-03-23 14:03 ` [PATCH v4 4/4] filters: document environment variables in filter scripts mailings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).