##// END OF EJS Templates
tests: stabilize Git committer in test_vcs_operations...
tests: stabilize Git committer in test_vcs_operations Git tries to find out name and email in this order: 1. The author can be set e.g. via the `--author` option of `git commit`. 2. If set, the environment variables GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL are taken. 3. If set, various (global) config files are considered. 4. Unless disabled by the user.useconfigonly config, the names and emails are inferred from various system sources such as various fields from /etc/passwd, /etc/mailname and the environment variable EMAIL. The author can be provided on the command line (1), but that is not possible for the committer. It is not an option to modify Git’s configuration files, so the result of (3) depends on the system the tests run on, which should be avoided. A follow-up patch will try to instruct Git to not read the system Git configuration files. (4) is also system-dependent. On some systems, (4) is disabled in the Git configuration. If enabled, Git will try to infer the committer name from the gecko field in /etc/passwd, but will fail if it is empty. The previous code passed the environment variable EMAIL to provide the corresponding email address. By passing the names and emails via (2), we can set the author and committer name and email uniformly and prevent Git from using the system-dependent ways (3) and (4). This will replace the use of of EMAIL. The environment variables were introduced in 2005, so there should be no backwards compatibility problems. The tests will specify --author explicitly in the cases where the actual name matters. We just need default values that can be used for committing when we don't care. We set it as static defaults to: Author: test_regular <test_regular@example.com> Commit: test_admin <test_admin@example.com> Based on changes and research by Manuel Jacob <me@manueljacob.de>.

File last commit:

r8761:55715fe0 stable
r8768:d6d3cb59 stable
Show More
CONTRIBUTORS
194 lines | 8.7 KiB | text/plain | TextLexer
List of contributors to Kallithea project:
Mads Kiilerich <mads@kiilerich.com> 2016-2023
Manuel Jacob <me@manueljacob.de> 2019-2020 2022-2023
Mathias De Mare <mathias.de_mare@nokia.com> 2023
Asterios Dimitriou <steve@pci.gr> 2016-2017 2020 2022
Jaime Marquínez Ferrándiz <weblate@jregistros.fastmail.net> 2022
Louis Bertrand <louis.bertrand@durhamcollege.ca> 2022
toras9000 <toras9000@gmail.com> 2022
yzqzss <yzqzss@othing.xyz> 2022
МАН69К <weblate@mah69k.net> 2022
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> 2014-2021
ssantos <ssantos@web.de> 2018-2021
Private <adamantine.sword@gmail.com> 2019-2021
Étienne Gilli <etienne@gilli.io> 2020-2021
fresh <fresh190@protonmail.com> 2020-2021
robertus <robertuss12@gmail.com> 2020-2021
Eugenia Russell <eugenia.russell2019@gmail.com> 2021
Michalis <michalisntovas@yahoo.gr> 2021
vs <vsuhachev@yandex.ru> 2021
Александр <akonn7@mail.ru> 2021
Allan Nordhøy <epost@anotheragency.no> 2017-2020
Anton Schur <tonich.sh@gmail.com> 2017 2020
Artem <kovalevartem.ru@gmail.com> 2020
David Ignjić <ignjic@gmail.com> 2020
Dennis Fink <dennis.fink@c3l.lu> 2020
J. Lavoie <j.lavoie@net-c.ca> 2020
Ross Thomas <ross@lns-nevasoft.com> 2020
Tim Ooms <tatankat@users.noreply.github.com> 2020
Andrej Shadura <andrew@shadura.me> 2012 2014-2017 2019
Étienne Gilli <etienne.gilli@gmail.com> 2015-2017 2019
Adi Kriegisch <adi@cg.tuwien.ac.at> 2019
Danni Randeris <danniranderis@gmail.com> 2019
Edmund Wong <ewong@crazy-cat.org> 2019
Elizabeth Sherrock <lizzyd710@gmail.com> 2019
Hüseyin Tunç <huseyin.tunc@bulutfon.com> 2019
leela <53352@protonmail.com> 2019
Mateusz Mendel <mendelm9@gmail.com> 2019
Nathan <bonnemainsnathan@gmail.com> 2019
Oleksandr Shtalinberg <o.shtalinberg@gmail.com> 2019
THANOS SIOURDAKIS <siourdakisthanos@gmail.com> 2019
Wolfgang Scherer <wolfgang.scherer@gmx.de> 2019
Христо Станев <hstanev@gmail.com> 2019
Dominik Ruf <dominikruf@gmail.com> 2012 2014-2018
Michal Čihař <michal@cihar.com> 2014-2015 2018
Branko Majic <branko@majic.rs> 2015 2018
Chris Rule <crule@aegistg.com> 2018
Jesús Sánchez <jsanchezfdz95@gmail.com> 2018
Patrick Vane <patrick_vane@lowentry.com> 2018
Pheng Heong Tan <phtan90@gmail.com> 2018
Максим Якимчук <xpinovo@gmail.com> 2018
Марс Ямбар <mjambarmeta@gmail.com> 2018
Mads Kiilerich <madski@unity3d.com> 2012-2017
Unity Technologies 2012-2017
Søren Løvborg <sorenl@unity3d.com> 2015-2017
Sam Jaques <sam.jaques@me.com> 2015 2017
Alessandro Molina <alessandro.molina@axant.it> 2017
Ching-Chen Mao <mao@lins.fju.edu.tw> 2017
Eivind Tagseth <eivindt@gmail.com> 2017
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> 2017
Holger Schramm <info@schramm.by> 2017
Karl Goetz <karl@kgoetz.id.au> 2017
Lars Kruse <devel@sumpfralle.de> 2017
Marko Semet <markosemet@googlemail.com> 2017
Viktar Vauchkevich <victorenator@gmail.com> 2017
Takumi IINO <trot.thunder@gmail.com> 2012-2016
Jan Heylen <heyleke@gmail.com> 2015-2016
Robert Martinez <ntttq@inboxen.org> 2015-2016
Robert Rauch <mail@robertrauch.de> 2015-2016
Angel Ezquerra <angel.ezquerra@gmail.com> 2016
Anton Shestakov <av6@dwimlabs.net> 2016
Brandon Jones <bjones14@gmail.com> 2016
Kateryna Musina <kateryna@unity3d.com> 2016
Konstantin Veretennicov <kveretennicov@gmail.com> 2016
Oscar Curero <oscar@naiandei.net> 2016
Robert James Dennington <tinytimrob@googlemail.com> 2016
timeless@gmail.com 2016
YFdyh000 <yfdyh000@gmail.com> 2016
Aras Pranckevičius <aras@unity3d.com> 2012-2013 2015
Sean Farley <sean.michael.farley@gmail.com> 2013-2015
Bradley M. Kuhn <bkuhn@sfconservancy.org> 2014-2015
Christian Oyarzun <oyarzun@gmail.com> 2014-2015
Joseph Rivera <rivera.d.joseph@gmail.com> 2014-2015
Anatoly Bubenkov <bubenkoff@gmail.com> 2015
Andrew Bartlett <abartlet@catalyst.net.nz> 2015
Balázs Úr <urbalazs@gmail.com> 2015
Ben Finney <ben@benfinney.id.au> 2015
Daniel Hobley <danielh@unity3d.com> 2015
David Avigni <david.avigni@ankapi.com> 2015
Denis Blanchette <dblanchette@coveo.com> 2015
duanhongyi <duanhongyi@doopai.com> 2015
EriCSN Chang <ericsning@gmail.com> 2015
Grzegorz Krason <grzegorz.krason@gmail.com> 2015
Jiří Suchan <yed@vanyli.net> 2015
Kazunari Kobayashi <kobanari@nifty.com> 2015
Kevin Bullock <kbullock@ringworld.org> 2015
kobanari <kobanari@nifty.com> 2015
Marc Abramowitz <marc@marc-abramowitz.com> 2015
Marc Villetard <marc.villetard@gmail.com> 2015
Matthias Zilk <matthias.zilk@gmail.com> 2015
Michael Pohl <michael@mipapo.de> 2015
Michael V. DePalatis <mike@depalatis.net> 2015
Morten Skaaning <mortens@unity3d.com> 2015
Nick High <nick@silverchip.org> 2015
Niemand Jedermann <predatorix@web.de> 2015
Peter Vitt <petervitt@web.de> 2015
Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> 2015
Tuux <tuxa@galaxie.eu.org> 2015
Viktar Palstsiuk <vipals@gmail.com> 2015
Ante Ilic <ante@unity3d.com> 2014
Calinou <calinou@opmbx.org> 2014
Daniel Anderson <daniel@dattrix.com> 2014
Henrik Stuart <hg@hstuart.dk> 2014
Ingo von Borstel <kallithea@planetmaker.de> 2014
invision70 <invision70@gmail.com> 2014
Jelmer Vernooij <jelmer@samba.org> 2014
Jim Hague <jim.hague@acm.org> 2014
Matt Fellows <kallithea@matt-fellows.me.uk> 2014
Max Roman <max@choloclos.se> 2014
Na'Tosha Bard <natosha@unity3d.com> 2014
Rasmus Selsmark <rasmuss@unity3d.com> 2014
SkryabinD <skryabind@gmail.com> 2014
Tim Freund <tim@freunds.net> 2014
Travis Burtrum <android@moparisthebest.com> 2014
whosaysni <whosaysni@gmail.com> 2014
Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> 2014
Marcin Kuźmiński <marcin@python-works.com> 2010-2013
Nemcio <areczek01@gmail.com> 2012-2013
xpol <xpolife@gmail.com> 2012-2013
Andrey Mivrenik <myvrenik@gmail.com> 2013
Aparkar <aparkar@icloud.com> 2013
ArcheR <aleclitvinov1980@gmail.com> 2013
Dennis Brakhane <brakhane@googlemail.com> 2013
gnustavo <gustavo@gnustavo.com> 2013
Grzegorz Rożniecki <xaerxess@gmail.com> 2013
Ilya Beda <ir4y.ix@gmail.com> 2013
ivlevdenis <ivlevdenis.ru@gmail.com> 2013
Jonathan Sternberg <jonathansternberg@gmail.com> 2013
Leonardo Carneiro <leonardo@unity3d.com> 2013
Magnus Ericmats <magnus.ericmats@gmail.com> 2013
Martin Vium <martinv@unity3d.com> 2013
Mikhail Zholobov <legal90@gmail.com> 2013
mokeev1995 <mokeev_andre@mail.ru> 2013
Ruslan Bekenev <furyinbox@gmail.com> 2013
shirou - しろう 2013
Simon Lopez <simon.lopez@slopez.org> 2013
softforwinxp <softforwinxp@gmail.com> 2013
stephanj <info@stephan-jauernick.de> 2013
Ton Plomp <tcplomp@gmail.com> 2013
zhmylove <zhmylove@narod.ru> 2013
こいんとす <tkondou@gmail.com> 2013
Augusto Herrmann <augusto.herrmann@planejamento.gov.br> 2011-2012
Augusto Herrmann <augusto.herrmann@gmail.com> 2012
Dan Sheridan <djs@adelard.com> 2012
Dies Koper <diesk@fast.au.fujitsu.com> 2012
Erwin Kroon <e.kroon@smartmetersolutions.nl> 2012
H Waldo G <gwaldo@gmail.com> 2012
hppj <hppj@postmage.biz> 2012
Indra Talip <indra.talip@gmail.com> 2012
mikespook <mikespook@gmail.com> 2012
nansenat16 <nansenat16@null.tw> 2012
Nemcio <bogdan114@g.pl> 2012
Philip Jameson <philip.j@hostdime.com> 2012
Raoul Thill <raoul.thill@gmail.com> 2012
Stefan Engel <mail@engel-stefan.de> 2012
Tony Bussieres <t.bussieres@gmail.com> 2012
Vincent Caron <vcaron@bearstech.com> 2012
Vincent Duvert <vincent@duvert.net> 2012
Vladislav Poluhin <nuklea@gmail.com> 2012
Zachary Auclair <zach101@gmail.com> 2012
Ankit Solanki <ankit.solanki@gmail.com> 2011
Dmitri Kuznetsov 2011
Jared Bunting <jared.bunting@peachjean.com> 2011
Jason Harris <jason@jasonfharris.com> 2011
Les Peabody <lpeabody@gmail.com> 2011
Liad Shani <liadff@gmail.com> 2011
Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> 2011
Matt Zuba <matt.zuba@goodwillaz.org> 2011
Nicolas VINOT <aeris@imirhil.fr> 2011
Shawn K. O'Shea <shawn@eth0.net> 2011
Thayne Harbaugh <thayne@fusionio.com> 2011
Łukasz Balcerzak <lukaszbalcerzak@gmail.com> 2010
Andrew Kesterson <andrew@aklabs.net>
cejones
David A. Sjøen <david.sjoen@westcon.no>
James Rhodes <jrhodes@redpointsoftware.com.au>
Jonas Oberschweiber <jonas.oberschweiber@d-velop.de>
larikale
RhodeCode GmbH
Sebastian Kreutzberger <sebastian@rhodecode.com>
Steve Romanow <slestak989@gmail.com>
SteveCohen
Thomas <thomas@rhodecode.com>
Thomas Waldmann <tw-public@gmx.de>