1Shipwright::Backend::BaUssee(r3)Contributed Perl DocumenSthaitpiwornight::Backend::Base(3)
2
3
4
6 Shipwright::Backend::Base - Base Backend Class
7
9 Base Backend Class
10
12 new the constructor
13
14 build
15 initialize
16 initialize a project you should subclass this method, and call this
17 to get the dir with content initialized
18
19 import
20 import a dist.
21
22 export
23 checkout
24 commit
25 A wrapper around svn's commit command.
26
27 update_order
28 regenerate the dependency order.
29
30 graph_deps
31 return a dependency graph in graphviz format
32
33 order
34 get or set the dependency order.
35
36 map get or set the map.
37
38 source
39 get or set the sources map.
40
41 flags
42 get or set flags.
43
44 version
45 get or set version.
46
47 branches
48 get or set branches.
49
50 ktf get or set known failure conditions.
51
52 refs
53 get or set refs
54
55 delete
56 list
57 dists
58 move
59 info
60 requires
61 return the hashref of require.yml for a dist.
62
63 check_repository
64 Check if the given repository is valid.
65
66 update
67 you should subclass this method, and run this to get the file path
68 with latest version
69
70 test_script
71 get or set test_script for a project, i.e. /t/test
72
73 trim
74 trim dists
75
76 update_refs
77 update refs.
78
79 we need update this after import and trim
80
81 has_branch_support
82 return true if has branch support
83
84 local_dir
85 for vcs backend, we made a local checkout/clone version, which will
86 live here
87
88 strip_repository
89
91 sunnavy "<sunnavy@bestpractical.com>"
92
94 Shipwright is Copyright 2007-2015 Best Practical Solutions, LLC.
95
96 This program is free software; you can redistribute it and/or modify it
97 under the same terms as Perl itself.
98
99
100
101perl v5.36.0 2022-07-22 Shipwright::Backend::Base(3)