Adding upstream version 2.23+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
4274e522c0
commit
1e97beb507
21 changed files with 3809 additions and 0 deletions
13
filter-example.py
Executable file
13
filter-example.py
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
# This is a trivial example of a metadata filter.
|
||||
# All it does is change the name of the commit's author.
|
||||
# It could do other things, including modifying the
|
||||
# channels list
|
||||
#
|
||||
import sys, json
|
||||
metadata = json.loads(sys.argv[1])
|
||||
|
||||
metadata['author'] = "The Great and Powerful Oz"
|
||||
|
||||
print json.dumps(metadata)
|
||||
# end
|
Loading…
Add table
Add a link
Reference in a new issue