Shipwri...:Backend(3)

πŸ“¦
version 2.4.42 Β· 2 versions
, in fedora 43

πŸ’– 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>


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