ARCHPATH(1)
πΈ ARCHPATH(1) β the general commands manual, but make it cute πΈ
okay bestie, gather round, because archpath is one of those tiny little tools that does ONE thing and does it flawlessly, and honestly? we're obsessed. π
β¨ NAME β¨
archpath β spits out arch (tla/Bazaar) archive names, and yes it handles branches too, because of course it does. π¦
π SYNOPSIS π
archpath
archpath branch
archpath branch--version
three whole moods, that's the whole vibe. no flags, no chaos, just vibes. β¨
π DESCRIPTION π
so like. archpath is meant to be run inside an arch (tla or Bazaar) working copy. that's its whole home. its natural habitat. its main character setting. π β¨
in its simplest usage β literally just archpath with no parameters β it outputs the package name (archive/category--branch--version) that's associated with the working copy you're standing in. that's it. that's the tea. π
now if you do give it a parameter, it can be one of two things:
- a
branch--versionβ and thenarchpathwill output a corresponding package name in the current archive and category π« - or a plain branch name (like, with no
--in it at all) β and thenarchpathwill output a corresponding package name in the current archive and category, with the same version as the current working copy. no cap. π
and why do we care? because it's so useful for branching. for example, say you're using Bazaar and you want to create a branch for a new feature. you'd run something like this:
baz branch $(archpath) $(archpath new-feature)
or, say you want to tag your current code onto a releases branch as version 1.0. then you'd run something like this:
baz branch $(archpath) $(archpath releases--1.0)
and that is so much easier than using baz tree-version to go look up the package name and then manually edit the result like some kind of medieval peasant. π we do not do manual editing in this house. periodt. π
π AUTHOR π
archpath was written by Colin Watson <cjwatson@debian.org>. π«Ά
and like archpath itself, this manual page is released under the GNU General Public License, version 2 or later. slay, licensing. πβ¨
and that's the whole page, bestie β brought to you by the Debian Utilities crew, living under the DEBIAN banner, showing up in your manual as ARCHPATH(1) whenever you need it. go forth and branch responsibly. ππ
π¦ where this page comes from
- debian bookworm: devscripts 2.23.4+deb12u2 Β· GPL-2.0-or-later
- debian trixie: devscripts 2.25.15+deb13u1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- ubuntu jammy: devscripts 2.22.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu jammy: devscripts 2.22.1ubuntu1.2 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7ubuntu0.2 Β· GPL-2.0-or-later
- ubuntu questing: devscripts 2.25.19ubuntu2
- ubuntu resolute: devscripts 2.26.7 Β· GPL-2.0-or-later
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms