aboutsummaryrefslogtreecommitdiff
path: root/docs/blog/20200803.txt
blob: eaee932febb02dc57afeb0823d4d5b6c16cad286 (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
August 2020 News Post
================================================================================

We are having some stalls during this summer, as I am currently working on
university-related stuff. Nonetheless, there are some important changes that I
want to share in this month's post.

INDEX
--------------------------------------------------------------------------------

- [Carbs Packaging Tools](#carbs-packaging-tools)
- [Docs](#docs)
- [Re-opening the Carbs Linux server](#re-opening-the-carbs-linux-server)


Carbs Packaging Tools
--------------------------------------------------------------------------------

This month I have reworked `kiss` into a new package manager, now renamed as
`cpt`. Updating `kiss` will now bootstrap the new package manager, so you don't
have to manually edit your system. If you don't like the idea of this, you can
look up the `post-install` script on `core/kiss` and apply the changes manually.

You will also need to rename your KISS_* variables to CPT_*. So, KISS_PATH
becomes CPT_PATH.

The rework changes the previous commands on the package manager into standalone
tools, and move the package manager functions to a library. This makes it easier
for a user to import functions and variables from the package manager, and
extend the package manager with their own intended way. Previously this required
ugly hacks and workarounds to use the package manager functions. I will be
making use of these changes to re-implement binary package management functions
as well.

If you want to use the library on your script you can simply do this:

    +--------------------------------------------------------------------------+
    |                                                                          |
    | #!/bin/sh                                                                |
    | . cpt-lib                                                                |
    | (...)                                                                    |
    |                                                                          |
    +--------------------------------------------------------------------------+

There are obviously some clean-up and simplifications needed in this new
tool-based package management method.


Docs
--------------------------------------------------------------------------------

I have added documentation for the distribution, and finally updated the guide
for installation. It is now _almost_ complete. These docs can be installed to
your system for online viewing. I will also add a documentation crawler similar
to how werc[^1] works (but as an offline viewer). You can find `carbs-docs` from
the repository. Currently, the documentation lacks but I will be adding new
stuff. These will solely be distribution specific documentation and will not be
a wiki-like source. If anyone would like to contribute to a wiki-like
documentation source, I would happily re-open the distribution wiki. You can
find the source on https://github.com/CarbsLinux/docs


Re-opening the Carbs Linux server
--------------------------------------------------------------------------------

Back in May, I had shutdown the Carbs Linux server due to financial issues, but
I am slowly reverting to the self-hosted model. Back then, the git repositories
were mirrored to GitHub, and the management was overall much more flexible. The
server used to run Carbs Linux as well (that was fun and horrifying at the same
time). Now, I will be relaunching the git server which will be the upstream
source before August 5. You can switch your remote, but GitHub will stay as a
remote nonetheless.

EDIT: The git-server is up!


[^1]: http://werc.cat-v.org