Page MenuHomeFreeBSD

Add repository callsign to arcanist in docs
AbandonedPublic

Authored by rscheff on Feb 10 2021, 3:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 11 2024, 8:39 PM
Unknown Object (File)
Dec 20 2023, 12:26 AM
Unknown Object (File)
Oct 26 2023, 1:21 AM
Unknown Object (File)
Aug 12 2023, 3:13 PM
Unknown Object (File)
May 3 2023, 2:34 AM
Unknown Object (File)
Apr 26 2023, 4:05 AM
Unknown Object (File)
Apr 8 2023, 10:34 AM
Unknown Object (File)
Jan 14 2023, 11:15 PM
Subscribers
None

Details

Reviewers
gjb
lwhsu
emaste
pi
mat
eadler
Group Reviewers
phabric-admin
Summary

Without it, running "arc diff" comes back to me claiming that it can not figure out the repository:

[root@freebsd ~/freebsd-master/doc]# arc which
REPOSITORY
To identify the repository associated with this working copy, arc followed this process:

    Configuration value "repository.callsign" is set to "rS".

    No repositories matched the query. Check that your configuration is
    correct, or use "repository.callsign" to select a repository explicitly.

This working copy is not associated with any repository.

When the .arcconfig contains this setting, arcanist works without complaining:

[root@freebsd ~/freebsd-master/doc]# arc which
REPOSITORY
To identify the repository associated with this working copy, arc followed this process:

   Configuration value "repository.callsign" is set to "D".

   Found a unique matching repository.

This working copy is associated with the FreeBSD doc repository - subversion repository.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36863
Build 33752: arc lint + arc unit

Event Timeline

rscheff created this revision.

ACK, I personally like this, but I also want to note that this also needs some more testing and config change in the current phabricator setup. The old svn repo also used D as callsign and I don't know if changing/reusing it will cause any side effects.

Looking into rS src .arcconfig, it seems like there, for a long time the callsign was not present - but got added back in with 1906ce9ca7d8 due to the migration to git.

Apparently, that didn't have any detrimental effect (and I didn't notice it in my src arcanist workflow actually).

Abandoning, as this doesn't seem to get any traction with maintainers of docs