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)
Thu, Oct 31, 8:51 PM
Unknown Object (File)
Sun, Oct 27, 8:50 AM
Unknown Object (File)
Sun, Oct 27, 8:50 AM
Unknown Object (File)
Sun, Oct 27, 8:31 AM
Unknown Object (File)
Oct 4 2024, 10:31 AM
Unknown Object (File)
Oct 1 2024, 10:24 PM
Unknown Object (File)
Sep 4 2024, 6:45 AM
Unknown Object (File)
Aug 24 2024, 6:12 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