-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
files.texi
65 lines (51 loc) · 2.02 KB
/
files.texi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@node Files, Repository, Commands, Top
@chapter Files
This chapter is about relevant files that affect pacstall's operations.
@menu
* Repository:: Files related to retrieving, updating, and searching packages.
* Updating:: Files relating to updating pacstall.
@end menu
@node Repository, pacstallrepo, Files,
@section Repository
These files relate to dealing with retrieving, updating, and searching packages.
@menu
* pacstallrepo:: Repository configuration file.
* pacstallrepo: repo_url. URL configuration.
* pacstallrepo: alias. Aliasing URLS.
@end menu
@node pacstallrepo, repo_url, Repository, Repository
@subsection pacstallrepo
The file @file{/usr/share/pacstall/repo/pacstallrepo} is a flat-file configuration format where keys are newline separated.
@float Example pacstallrepo file
@example
@var{url} @@@var{alias}
@end example
@caption{@ref{repo_url} and @ref{alias}}
@end float
@node repo_url, , pacstallrepo, Repository
@subsubsection repo_url
Any URL used must allow following by path structures (i.e., @file{/packages/foo/foo.pacscript}). The URL does not need to be accessible in its raw form, so long as it works with the full URL (base + @file{path/to/wherever}).
@node alias, , pacstallrepo, Repository
@subsubsection alias
Aliases are used by the installing, searching, and removing functionality of pacstall. They offer a way to shorten the amount of text one must type to complete certain operations. The only requirement is that they are only composed of ASCII characters.
@node Updating, pacstallrepo, Files,
@section Updating
These files are used to update pacstall.
@menu
* update:: Update file.
@end menu
@node update, , Updating, Updating
@subsection update
The file @file{/usr/share/pacstall/repo/update} is a flat-file configuration format.
@float Example update file
@example
pacstall master
@end example
@end float
It takes two values separated by a space:
@enumerate
@item
Username on @url{https://github.com, GitHub}. The repository name from whatever user is chosen must be 'pacstall'.
@item
Branch name.
@end enumerate