aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild10
-rw-r--r--docs/index.html10
-rw-r--r--docs/index.txt13
-rw-r--r--docs/news.html175
-rw-r--r--docs/news.txt199
-rw-r--r--docs/news.xml2
-rw-r--r--docs/rss.xml2
-rw-r--r--index/index.md4
-rw-r--r--src/index.md13
9 files changed, 26 insertions, 402 deletions
diff --git a/build b/build
index bf2e458..8b6c882 100755
--- a/build
+++ b/build
@@ -90,12 +90,16 @@ EOF
site_index() {
cp index/index.md src/index.md
- find index -name '*.news' | sort -r | sed 3q | while read -r news ; do
+ :> src/news.md
+ # find index -name '*.news' | sort -r | sed 3q | while read -r news ; do
+ # shellcheck disable=2046
+ set -- $(find index -name '*.news' | sort -r)
+ for news in "$1" "$2" "$3" ; do
newsdate="${news##*/}" ; newsdate="${newsdate%.news}"
- printf '\n%s\n-----------\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/index.md
+ printf '\n### %s\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/index.md
cat "$news" >> src/index.md
done
- find index -name '*.news' | sort -r | while read -r news ; do
+ for news; do
newsdate="${news##*/}" ; newsdate="${newsdate%.news}"
printf '\n%s\n-----------\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/news.md
cat "$news" >> src/news.md
diff --git a/docs/index.html b/docs/index.html
index 3eacda8..ab712af 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -17,7 +17,7 @@
<a href='/wiki/install.html'>installation</a>
</nav></div><div class="border"></div>
<p>Carbs Linux is an in-development Linux® distribution with a suckless mindset.
-The system will consist of only the necessary programs to create a Linux
+The base system will consist of only the necessary programs to create a Linux
distribution.</p>
<h2>Package Manager</h2>
@@ -69,18 +69,18 @@ some other system supervision technique along with your own init scripts.</p>
<h2>News</h2>
-<p><a href="/news.xml">RSS Feed</a></p>
+<p><a href="/news.xml">RSS Feed</a> | <a href="/news.html">See all news</a></p>
-<h2>Apr 10 2020</h2>
+<h3>Apr 10 2020</h3>
<p>IRC channel can now be accessed from <code>#carbslinux</code> at freenode!</p>
-<h2>Apr 06 2020</h2>
+<h3>Apr 06 2020</h3>
<p>A new rootfs tarball has been released. See the
<a href="https://dl.carbslinux.org">downloads</a> page</p>
-<h2>Apr 05 2020</h2>
+<h3>Apr 05 2020</h3>
<p>Carbs Linux repositories will be hosted only on Github. Commits will be
pushed there, and not the repository. You have until
diff --git a/docs/index.txt b/docs/index.txt
index abeeb03..645c807 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -1,5 +1,5 @@
Carbs Linux is an in-development Linux® distribution with a suckless mindset.
-The system will consist of only the necessary programs to create a Linux
+The base system will consist of only the necessary programs to create a Linux
distribution.
Package Manager
@@ -54,21 +54,18 @@ Links
News
----
-[RSS Feed](/news.xml)
+[RSS Feed](/news.xml) | [See all news](/news.html)
-Apr 10 2020
------------
+### Apr 10 2020
IRC channel can now be accessed from `#carbslinux` at freenode!
-Apr 06 2020
------------
+### Apr 06 2020
A new rootfs tarball has been released. See the
[downloads](https://dl.carbslinux.org) page
-Apr 05 2020
------------
+### Apr 05 2020
Carbs Linux repositories will be hosted only on Github. Commits will be
pushed there, and not the repository. You have until
diff --git a/docs/news.html b/docs/news.html
index d23d1f1..02e0511 100644
--- a/docs/news.html
+++ b/docs/news.html
@@ -190,181 +190,6 @@ This is for adding standalone runit/runit-init to the repositories.</p>
<h2>Dec 10 2019</h2>
<p>First alpha release was made. See the <a href="//dl.carbslinux.org/releases">downloads page</a>.</p>
-
-<h2>Apr 10 2020</h2>
-
-<p>IRC channel can now be accessed from <code>#carbslinux</code> at freenode!</p>
-
-<h2>Apr 06 2020</h2>
-
-<p>A new rootfs tarball has been released. See the
-<a href="https://dl.carbslinux.org">downloads</a> page</p>
-
-<h2>Apr 05 2020</h2>
-
-<p>Carbs Linux repositories will be hosted only on Github. Commits will be
-pushed there, and not the repository. You have until
-May 4, 2020 Monday to switch your remotes to <a href="https://github.com/CarbsLinux/repository">https://github.com/CarbsLinux/repository</a>.
-The git repository will continue to be served until then (without additional
-commits).</p>
-
-<p>You can switch your remote by executing the following command on your
-repository directory.</p>
-
-<pre><code>git remote set-url origin https://github.com/CarbsLinux/repository
-</code></pre>
-
-<h2>Feb 18 2020</h2>
-
-<p>A new tarball is released. It can be found on <a href="https://dl.carbslinux.org">https://dl.carbslinux.org</a>.</p>
-
-<p><strong>edit:</strong> I have removed the tarball because of a bootstrapping issue.
-I will be re-adding it later today.</p>
-
-<p><strong>edit 2:</strong> I have added a tarball (20200219) to reflect my recent
-changes on Busybox.</p>
-
-<h2>Feb 14 2020</h2>
-
-<p><strong>IMPORTANT!</strong> Carbs-init update to be released on 17th of February
-will require manual intervention. I am holding this update back so
-people can see it before they update their system (even though the
-update will show the same message as this). The rationale for the
-update is explained below the intervention.</p>
-
-<pre><code># There is an explanation for each init
-# You only need to follow the instructions
-# for your own init-system
-
-## busybox-init
-# If you did not edit your inittab simply
-# move inittab.new to inittab
--&gt; mv /etc/inittab.new /etc/inittab
-
-# If you did edit your inittab you can use
-# a simple sed command to remove the necessary lines
--&gt; sed -i '/getty/d;/runsvdir/d' /etc/inittab
-
-
-## runit
-# same as busybox-init, if you did not edit
-# /etc/runit/2 move 2.new to 2
--&gt; mv /etc/runit/2.new /etc/runit/2
-
-# else
--&gt; vim /etc/runit/2
-# open your 2 file and remove the for loop containing
-# getty commands. If you are using runit, it is recommended
-# to comment out /etc/init/runit.boot
-
-## sinit/minit
-# If you did not edit your {sinit-,}launch-services.boot
-# you can simply remove it.
--&gt; rm -f /etc/init/launch-services.boot /etc/init/sinit-launch-services.boot
-
-# This should leave you without any issues, and you can safely reboot.
-</code></pre>
-
-<p>Carbs-init update is to make sure init systems do not clash, and do
-not have to use different files. This is a sensible update both for
-the user user and for the maintainer side.</p>
-
-<p>To give an example, before this update busybox-init was managing getty
-through <code>inittab</code>, runit was managing through <code>/etc/runit/2</code>, and
-minit/sinit were launching from <code>/etc/init/launch-services.boot</code>. This
-is a configuration nightmare for everyone, and since I am maintaining
-and constantly testing those init providers, a huge nightmare for me.
-This is a Quality of Life update.</p>
-
-<h2>Feb 13 2020</h2>
-
-<p>Runit is now released on the core repository! You can now replace
-busybox-init with runit-init. You can also replace the busybox runit
-utilities with the actual runit. This will reduce the dependency on
-busybox greatly.</p>
-
-<h2>Jan 28 2020</h2>
-
-<p>Web Server is now on a Carbs Linux server. It is not complete yet,
-but I will be adding a little more for the intended functionality.
-Downtimes can be expected.</p>
-
-<p>UPDATE: ssl is now working.</p>
-
-<p>UPDATE2: downloads are back again.</p>
-
-<h2>Jan 22 2020</h2>
-
-<p>Expect downtime on Jan 24 2020 22:00 UTC as I will be migrating
-this web server to my Carbs Linux server!</p>
-
-<h2>Jan 15 2020</h2>
-
-<p>sinit has been taken to <code>core</code>, and is now officially supported</p>
-
-<h2>Jan 13 2020</h2>
-
-<p><strong>Busybox update reqires manual intervention</strong></p>
-
-<p>The new busybox package conflicts with the pre-update busybox-init. That&rsquo;s why
-you should rebuild and install <code>busybox-init</code> before doing the update.</p>
-
-<pre><code># Do a kiss update first (but don't actually update it yet), or manually pull the git repository
-$ kiss u # Cancel this operation after it asks for you to confirm the update
-
-# Install the busybox-init package
-$ kiss b busybox-init &amp;&amp; kiss i busybox-init
-
-# Continue your update as you normally would.
-$ kiss u
-</code></pre>
-
-<p>I have moved runit and logging utilities from the busybox-init package to the busybox
-package, which is the cause of these conflicts.</p>
-
-<h2>Jan 10 2020</h2>
-
-<p>carbs-rootfs-20200110.tar.xz was <a href="//dl.carbslinux.org/releases">released</a></p>
-
-<h2>Jan 09 2020</h2>
-
-<p>Happy new year, everyone! I am back after some long silence. I was unable to commit for a
-while, but I have pulled some new updates from the KISS repository, added some of my own.
-This week I will be changing/adding some things.</p>
-
-<p>Important things are,</p>
-
-<ul>
-<li>Carbs-init was updated to 0.3.</li>
-<li>I will be adding an implementation of suckless.org&rsquo;s <a href="//core.suckless.org/sinit">sinit</a> as <code>carbs-sinit</code></li>
-<li>Carbs Repository was added to <a href="//repology.org/repository/carbs">repology.org</a></li>
-<li>A new rootfs tarball will be coming up tomorrow.</li>
-</ul>
-
-
-<h2>Dec 18 2019</h2>
-
-<p>carbs-rootfs-20191218.tar.xz was <a href="//dl.carbslinux.org/releases">released</a></p>
-
-<h2>Dec 17 2019</h2>
-
-<p>Installation instruction are now complete. A review would be greatly appreciated!</p>
-
-<h2>Dec 15 2019</h2>
-
-<p>Carbs Linux Wiki is now available to be edited and updated by the users go
-to the <a href="//carbslinux.org/wiki">wiki</a> to obtain more information.</p>
-
-<p><strong>February 2020 EDIT:</strong> Changed link for wiki</p>
-
-<h2>Dec 12 2019</h2>
-
-<p>Busybox and Busybox-init has been seperated into two different packages.
-This is for adding standalone runit/runit-init to the repositories.</p>
-
-<h2>Dec 10 2019</h2>
-
-<p>First alpha release was made. See the <a href="//dl.carbslinux.org/releases">downloads page</a>.</p>
<a href="/news.txt">View Page Source</a><div class=border></div>
<p class=footer>Linux® is a registered trademark of Linus Torvalds</p>
<p class=footer>Copyright © 2019-2020 Cem Keylan</p>
diff --git a/docs/news.txt b/docs/news.txt
index 9c36ada..e433732 100644
--- a/docs/news.txt
+++ b/docs/news.txt
@@ -197,202 +197,3 @@ Dec 10 2019
First alpha release was made. See the [downloads page](//dl.carbslinux.org/releases).
-
-Apr 10 2020
------------
-
-IRC channel can now be accessed from `#carbslinux` at freenode!
-
-Apr 06 2020
------------
-
-A new rootfs tarball has been released. See the
-[downloads](https://dl.carbslinux.org) page
-
-Apr 05 2020
------------
-
-Carbs Linux repositories will be hosted only on Github. Commits will be
-pushed there, and not the repository. You have until
-May 4, 2020 Monday to switch your remotes to <https://github.com/CarbsLinux/repository>.
-The git repository will continue to be served until then (without additional
-commits).
-
-You can switch your remote by executing the following command on your
-repository directory.
-
- git remote set-url origin https://github.com/CarbsLinux/repository
-
-
-Feb 18 2020
------------
-
-A new tarball is released. It can be found on <https://dl.carbslinux.org>.
-
-**edit:** I have removed the tarball because of a bootstrapping issue.
-I will be re-adding it later today.
-
-**edit 2:** I have added a tarball (20200219) to reflect my recent
-changes on Busybox.
-
-
-Feb 14 2020
------------
-
-**IMPORTANT!** Carbs-init update to be released on 17th of February
-will require manual intervention. I am holding this update back so
-people can see it before they update their system (even though the
-update will show the same message as this). The rationale for the
-update is explained below the intervention.
-
- # There is an explanation for each init
- # You only need to follow the instructions
- # for your own init-system
-
- ## busybox-init
- # If you did not edit your inittab simply
- # move inittab.new to inittab
- -> mv /etc/inittab.new /etc/inittab
-
- # If you did edit your inittab you can use
- # a simple sed command to remove the necessary lines
- -> sed -i '/getty/d;/runsvdir/d' /etc/inittab
-
-
- ## runit
- # same as busybox-init, if you did not edit
- # /etc/runit/2 move 2.new to 2
- -> mv /etc/runit/2.new /etc/runit/2
-
- # else
- -> vim /etc/runit/2
- # open your 2 file and remove the for loop containing
- # getty commands. If you are using runit, it is recommended
- # to comment out /etc/init/runit.boot
-
- ## sinit/minit
- # If you did not edit your {sinit-,}launch-services.boot
- # you can simply remove it.
- -> rm -f /etc/init/launch-services.boot /etc/init/sinit-launch-services.boot
-
- # This should leave you without any issues, and you can safely reboot.
-
-Carbs-init update is to make sure init systems do not clash, and do
-not have to use different files. This is a sensible update both for
-the user user and for the maintainer side.
-
-To give an example, before this update busybox-init was managing getty
-through `inittab`, runit was managing through `/etc/runit/2`, and
-minit/sinit were launching from `/etc/init/launch-services.boot`. This
-is a configuration nightmare for everyone, and since I am maintaining
-and constantly testing those init providers, a huge nightmare for me.
-This is a Quality of Life update.
-
-
-Feb 13 2020
------------
-
-Runit is now released on the core repository! You can now replace
-busybox-init with runit-init. You can also replace the busybox runit
-utilities with the actual runit. This will reduce the dependency on
-busybox greatly.
-
-Jan 28 2020
------------
-
-Web Server is now on a Carbs Linux server. It is not complete yet,
-but I will be adding a little more for the intended functionality.
-Downtimes can be expected.
-
-UPDATE: ssl is now working.
-
-UPDATE2: downloads are back again.
-
-
-Jan 22 2020
------------
-
-Expect downtime on Jan 24 2020 22:00 UTC as I will be migrating
-this web server to my Carbs Linux server!
-
-
-Jan 15 2020
------------
-
-sinit has been taken to `core`, and is now officially supported
-
-
-Jan 13 2020
------------
-
-**Busybox update reqires manual intervention**
-
-The new busybox package conflicts with the pre-update busybox-init. That's why
-you should rebuild and install `busybox-init` before doing the update.
-
- # Do a kiss update first (but don't actually update it yet), or manually pull the git repository
- $ kiss u # Cancel this operation after it asks for you to confirm the update
-
- # Install the busybox-init package
- $ kiss b busybox-init && kiss i busybox-init
-
- # Continue your update as you normally would.
- $ kiss u
-
-I have moved runit and logging utilities from the busybox-init package to the busybox
-package, which is the cause of these conflicts.
-
-Jan 10 2020
------------
-
-carbs-rootfs-20200110.tar.xz was [released](//dl.carbslinux.org/releases)
-
-
-Jan 09 2020
------------
-
-Happy new year, everyone! I am back after some long silence. I was unable to commit for a
-while, but I have pulled some new updates from the KISS repository, added some of my own.
-This week I will be changing/adding some things.
-
-Important things are,
-
-* Carbs-init was updated to 0.3.
-* I will be adding an implementation of suckless.org's [sinit](//core.suckless.org/sinit) as `carbs-sinit`
-* Carbs Repository was added to [repology.org](//repology.org/repository/carbs)
-* A new rootfs tarball will be coming up tomorrow.
-
-
-Dec 18 2019
------------
-
-carbs-rootfs-20191218.tar.xz was [released](//dl.carbslinux.org/releases)
-
-
-Dec 17 2019
------------
-
-Installation instruction are now complete. A review would be greatly appreciated!
-
-
-Dec 15 2019
------------
-
-Carbs Linux Wiki is now available to be edited and updated by the users go
-to the [wiki](//carbslinux.org/wiki) to obtain more information.
-
-**February 2020 EDIT:** Changed link for wiki
-
-
-Dec 12 2019
------------
-
-Busybox and Busybox-init has been seperated into two different packages.
-This is for adding standalone runit/runit-init to the repositories.
-
-
-Dec 10 2019
------------
-
-First alpha release was made. See the [downloads page](//dl.carbslinux.org/releases).
-
diff --git a/docs/news.xml b/docs/news.xml
index c16b964..86c0acc 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -9,7 +9,7 @@
<description>a simple busybox linux distribution</description>
<link>https://carbslinux.org</link>
<atom:link href="https://carbslinux.org/news.xml" rel="self" type="application/rss+xml" />
-<lastBuildDate>Apr Sun 2020 22:00</lastBuildDate>
+<lastBuildDate>Apr Sun 2020 23:00</lastBuildDate>
<item>
<title>20200410.news</title>
<pubDate>Fri, 10 Apr 2020</pubDate>
diff --git a/docs/rss.xml b/docs/rss.xml
index b6ef729..479bdcc 100644
--- a/docs/rss.xml
+++ b/docs/rss.xml
@@ -9,7 +9,7 @@
<description>a simple busybox linux distribution</description>
<link>https://carbslinux.org</link>
<atom:link href="https://carbslinux.org/rss.xml" rel="self" type="application/rss+xml" />
-<lastBuildDate>Apr Sun 2020 22:00</lastBuildDate>
+<lastBuildDate>Apr Sun 2020 23:00</lastBuildDate>
<item>
<title>Outsource Repository Concept</title>
<pubDate>Fri, 10 Apr 2020</pubDate>
diff --git a/index/index.md b/index/index.md
index bb9a029..f5e592c 100644
--- a/index/index.md
+++ b/index/index.md
@@ -1,5 +1,5 @@
Carbs Linux is an in-development Linux® distribution with a suckless mindset.
-The system will consist of only the necessary programs to create a Linux
+The base system will consist of only the necessary programs to create a Linux
distribution.
Package Manager
@@ -54,4 +54,4 @@ Links
News
----
-[RSS Feed](/news.xml)
+[RSS Feed](/news.xml) | [See all news](/news.html)
diff --git a/src/index.md b/src/index.md
index abeeb03..645c807 100644
--- a/src/index.md
+++ b/src/index.md
@@ -1,5 +1,5 @@
Carbs Linux is an in-development Linux® distribution with a suckless mindset.
-The system will consist of only the necessary programs to create a Linux
+The base system will consist of only the necessary programs to create a Linux
distribution.
Package Manager
@@ -54,21 +54,18 @@ Links
News
----
-[RSS Feed](/news.xml)
+[RSS Feed](/news.xml) | [See all news](/news.html)
-Apr 10 2020
------------
+### Apr 10 2020
IRC channel can now be accessed from `#carbslinux` at freenode!
-Apr 06 2020
------------
+### Apr 06 2020
A new rootfs tarball has been released. See the
[downloads](https://dl.carbslinux.org) page
-Apr 05 2020
------------
+### Apr 05 2020
Carbs Linux repositories will be hosted only on Github. Commits will be
pushed there, and not the repository. You have until