Shipwri...:Backend(3)
π Shipwright::Backend(3) β the backend page, bestie π
okay so this is Shipwright::Backend, from the User Contributed Perl Documentation corner of the world. it's tiny. it's iconic. let's go β¨
πΈ NAME πΈ
Shipwright::Backend β literally just: Backend. that's it, that's the name π
β¨ SYNOPSIS β¨
the vibe is: you hand shipwright a -r flag and it's shaped like backend_type:path. watch π
# shipwright some_command -r backend_type:path
shipwright create -r svn:file:///svnrepo/shipwright/my_proj
periodt. that's how you tell it where to keep stuff and how. π
π¦ DESCRIPTION π¦
so like, this is the concept layer. if you wanna actually get what a backend means here, go read Shipwright::Manual::Glossary/shipyard β it explains the whole idea. no cap.
then, depending on what you're doing:
- wanna know what's already out there? scroll down to SUPPORTED BACKENDS π
- wanna add your own? that's the IMPLEMENTING BACKENDS section, main character energy, go off π«Ά
π SUPPORTED BACKENDS π
currently, the supported backends are FS, Git, SVK and SVN. four of them. a whole little squad. π
π§ IMPLEMENTING BACKENDS π§
if you're building your own backend (slay), here's the rule: every single implementation of a backend is a subclass of Shipwright::Backend::Base. that's the blueprint, bestie. inherit from it or it's not a backend. π
π METHODS π
this is a tiny class β like, genuinely minuscule. it has exactly one method, new, and all it does is load the particular implementation class you asked for and hand you back an instance of that class. that's the whole job. queen of doing one thing well π
π new repository => "type:path"
returns the backend object that corresponds to the type you defined in the repository argument. you say type:path, it goes "say less" and gives you the matching object. π
π AUTHORS π
sunnavy <sunnavy@bestpractical.com>
πΈ LICENCE AND COPYRIGHT πΈ
Shipwright is Copyright 2007-2015 Best Practical Solutions, LLC.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
fr fr, that's the whole page. go build something cute with it π«Ά
and that's a wrap, babe β this was perl v5.42.0, dated 2025-07-25, straight out of Shipwri...:Backend(3). mwah πβ¨
π¦ where this page comes from
- fedora 43: perl-Shipwright 2.4.42-24.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms