Commit Graph

14 Commits

Author SHA1 Message Date
Alexander V. Chernikov
cf145eb25f arcanist: use FreeBSD/git project repository instead of FreeBSD/svn
Current `.arcconfig` specifies explicit mapping to the FreeBSD/SVN
 project in Phabricator, which is inactive. This mapping only gets
 updated to the current "production" (FreeBSD/git) project when the
 underlying change is committed.
Update arcanist configuration to create all new diffs in the
 FreeBSD/git project.

Reviewed By: dim, emaste
Differential Revision: https://reviews.freebsd.org/D36204
2022-08-23 14:16:41 +00:00
Alex Richardson
73c14cc76b Remove history.immutable from .arcconfig
The `history.immutable` setting prevents arcanist from updating
the commit messages with the Differential URL and therefore
makes updating patches awkward with a rebase workflow.

In case this new behaviour is not wanted the old one can be restored
by running `arc set-config --local history.immutable true`.

Test Plan: `arc diff --create HEAD^` adds the metadata now.

Reviewed By:	#phabric-admin, imp, lwhsu
Differential Revision: https://reviews.freebsd.org/D27971
2021-04-13 12:36:25 +01:00
Dimitry Andric
44faff9f4a Adjust .arcconfig to land onto 'main' by default
Otherwise, commands like "arc land" will default to 'master' instead.

MFC after:	immediately
2021-04-10 13:51:16 +02:00
Eitan Adler
1906ce9ca7 arcconfig: add callsign again
Problem

When using git-svn or other non-pure-svn tooling the original subversion
URL is not present. This causes arcanist/phabricator to be unable to
determine which repository is being modified.

Solution

Restore callsign to .arcconfig to enable exact repository matching even
with git-svn.

Reported By:	jhb
2020-11-23 04:39:29 +00:00
Eitan Adler
3102589baa callsign isn't required anymore 2016-09-29 06:19:45 +00:00
Eitan Adler
0bae19ba15 Remove project.name which is a product of a bygone era. 2016-04-21 04:33:07 +00:00
Mathieu Arnold
4e21b8cf6b Add repository.callsign, to help arcanist figure out what repo it's
doing things on when not using Subversion.

With hat:	phabric-admin@
Sponsored by:	Absolight
2015-07-02 22:23:52 +00:00
Eitan Adler
eb90926ae9 Phabricator: enable "history.immutable":
With certain arc workflows leaving history.immutable as false
	results in using the upstream template instead of our usual
	commit template.  Since the git workflow issues alluded to in my
	prior commit message can be worked around, set history.immutable
	once again.
2015-04-30 00:27:53 +00:00
Eitan Adler
db29be839a phabricator related changes:
- don't lint either contrib or crypto: these are both externally written
	  directories
	- add additional linters for spelling (check common typos like teh ->
	  the)
	- chmod linter checks for executible bit on bad files
	- merge-conflict checks for merge conflict tokens then may have been
	  resolved incorrectly
	- filename checks for back characters in filenames
	- json for json syntax correctness

	- remove history.immutable: it is meaningless on subversion, and causes
	  workflow problems when trying to use git.  It it set to 'true' by
	  default with hg
2015-04-20 20:33:22 +00:00
Glen Barber
d767f7138a Update the URL to the phabricator instance.
Sponsored by:	The FreeBSD Foundation
2014-08-14 16:25:43 +00:00
Baptiste Daroussin
e2faf077c2 Prevent arc commands from overwriting history 2014-06-06 08:05:34 +00:00
Baptiste Daroussin
4f3ddacf9b Add the missing coma 2014-05-15 11:30:17 +00:00
Baptiste Daroussin
f86d0da41b Add project name to the arc config it is still required when arcanist is used with SVN 2014-05-15 11:21:38 +00:00
Eitan Adler
b17de684ba arcconfig: add one
Add a .arcconfig to allow arc to work in its usual way.
2014-05-10 16:59:15 +00:00