aboutsummaryrefslogtreecommitdiff
path: root/docs/blog/20200803.html
blob: d62214b5b7c58a9649e7d5a6b320be3145d1d746 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<!-- 2021-02-02 -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>August 2020 News Post</title>
<meta name="generator" content="Org mode">
<meta name="author" content="Cem Keylan">
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body>
<div id="preamble" class="status">
<nav id="navbar">
    <a href="/" class=navbartitle>Carbs Linux</a>

    <label for="hamburger">&#9776;</label>
    <input type="checkbox" id="hamburger" />
    <ul id=navbarlist>
        <li><a href="/" title="Home Page">Home</a></li>
        <li><a href="//git.carbslinux.org" title="Git Repository">Git</a></li>
        <li><a href="/download.html" title="Download Carbs Linux">Download</a></li>
        <li><a href="/blog" title="Blog Posts">Blog</a></li>
        <li><a href="/install.html" title="Installation Instructions">Installation</a></li>
        <li><a href="/docs.html" title="Documentation">Docs</a></li>
    </ul>
</nav>
</div>
<div id="content">
<header>
<h1 class="title">August 2020 News Post</h1>
<p class="subtitle">posted on 2020-08-03</p>
</header><p>
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.
</p>

<div id="text-table-of-contents">
<ul>
<li><a href="#org01ef6cc">Carbs Packaging Tools</a></li>
<li><a href="#org53c8951">Docs</a></li>
<li><a href="#org0391ea3">Re-opening the Carbs Linux server</a></li>
</ul>
</div>

<div id="outline-container-org01ef6cc" class="outline-2">
<h2 id="org01ef6cc">Carbs Packaging Tools</h2>
<div class="outline-text-2" id="text-org01ef6cc">
<p>
This month I have reworked <code>kiss</code> into a new package manager, now renamed as
<code>cpt</code>. Updating <code>kiss</code> 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 <code>post-install</code> script on <code>core/kiss</code> and apply the changes manually.
</p>

<p>
You will also need to rename your <code>KISS_*</code> variables to <code>CPT_*</code>. So, <code>KISS_PATH</code>
becomes <code>CPT_PATH</code>.
</p>

<p>
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.
</p>

<p>
If you want to use the library on your script you can simply do this:
</p>

<div class="org-src-container">
<pre class="src src-sh"><span class="org-comment-delimiter">#</span><span class="org-comment">!/bin/</span><span class="org-keyword">sh</span>
. cpt-lib
(...)
</pre>
</div>

<p>
There are obviously some clean-up and simplifications needed in this new
tool-based package management method.
</p>
</div>
</div>

<div id="outline-container-org53c8951" class="outline-2">
<h2 id="org53c8951">Docs</h2>
<div class="outline-text-2" id="text-org53c8951">
<p>
I have added documentation for the distribution, and finally updated the guide
for installation. It is now <i>almost</i> complete. These docs can be installed to
your system for online viewing. I will also add a documentation crawler similar
to how werc works (but as an offline viewer). You can find <code>carbs-docs</code> 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 <a href="https://github.com/CarbsLinux/docs">https://github.com/CarbsLinux/docs</a>.
</p>
</div>
</div>

<div id="outline-container-org0391ea3" class="outline-2">
<h2 id="org0391ea3">Re-opening the Carbs Linux server</h2>
<div class="outline-text-2" id="text-org0391ea3">
<p>
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.
</p>

<p>
<b>EDIT:</b> The git-server is up!
</p>
</div>
</div>
</div>
<div id="postamble" class="status">
<footer>
    <p>Linux&reg; is a registered trademark of Linus Torvalds</p>
    <p>Copyright &copy; 2019-2021 Cem Keylan</p>
</footer>
</div>
</body>
</html>