Updating the wiki and adding the new post

This commit is contained in:
ngn
2024-02-21 23:36:29 +03:00
parent b5feb4fbbd
commit c475fd9916
7 changed files with 117 additions and 26 deletions

View File

@ -11,10 +11,10 @@ package in the desktop repo.
After installing `matter-mirror`, specify an URI and an output directory (files will be downloaded
into the output directory). For example to mirror the `base` repo from
`https://pkgs.matterlinux.xyz/base` to `base_mirror` directory:
`https://24.matterlinux.xyz/base` to `base_mirror` directory:
```
$ mkdir base_mirror
$ matter-mirror -u https://pkgs.matterlinux.xyz/base -o base_mirror
$ matter-mirror -u https://24.matterlinux.xyz/base -o base_mirror
```
To serve the mirror, you can setup a web server such as `nginx`, or you can setup a FTP
@ -39,10 +39,12 @@ that you can use. To add your mirror to this list get in contact with the mainta
> from the list.
### Official repos
| Repo | URI | Location |
| ------- | -------------------------------------- | ----------- |
| base | `https://pkgs.matterlinux.xyz/base` | 🇹🇷 Turkey |
| desktop | `https://pkgs.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
| Repo | Release | URI | Location |
| ------- | ------- | -------------------------------------- | ----------- |
| base | 24 | `https://24.matterlinux.xyz/base` | 🇹🇷 Turkey |
| desktop | 24 | `https://24.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
| base | none | `https://next.matterlinux.xyz/base` | 🇹🇷 Turkey |
| desktop | none | `https://next.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
### Mirrors
Currently there are no available mirrors.

View File

@ -18,16 +18,16 @@ from the README.
Configuration file for `mp` can be found at `/etc/mp/cfg`. This file is used specify repos and
configure general settings.
Here is the configuration shipped with the releases:
Here is the configuration shipped with the MatterLinux 24 releases:
```
[general]
tmpdir = /tmp/mp
[base]
uri = https://pkgs.matterlinux.xyz/base
uri = https://24.matterlinux.xyz/base
[desktop]
uri = https://pkgs.matterlinux.xyz/desktop
uri = https://24.matterlinux.xyz/desktop
```
Lets start by breaking down the `[general]` section:

View File

@ -18,20 +18,20 @@ Repo metadata contains information about the repo itself. Such as the repo name,
author and the public key used to sign the packages.
This metadata can be found in the `repo` file at the root of the repo. For example
the repo metadata for `https://pkgs.matterlinux.xyz/base` is located at
`https://pkgs.matterlinux.xyz/base/repo`. `INI` format is used for this metadata file.
the repo metadata for `https://24.matterlinux.xyz/base` is located at
`https://24.matterlinux.xyz/base/repo`. `INI` format is used for this metadata file.
### Package List
A list containing all packages and all the package metadata can be found in an
archive file named after the repo. For example the package list for
`https://pkgs.matterlinux.xyz/base` is located at `https://pkgs.matterlinux.xyz/base/base.tar.gz`.
`https://24.matterlinux.xyz/base` is located at `https://24.matterlinux.xyz/base/base.tar.gz`.
This archive file contains a file named `pkgs`, which contains repo package list in the
`INI` format. It contains the package names, descriptions, versions, sums and dependencies.
### Repo Source
Source for a repo has a simple structure that also contains all the source files for the packages.
For example lets take a look the structure of the [`base`](https://pkgs.matterlinux.xyz/base)
For example lets take a look the structure of the [`base`](https://24.matterlinux.xyz/base)
repo source:
```
├── dist
@ -76,12 +76,9 @@ small script that is used to sign all the packages in the `dist` directory if th
without the signatures.
# Usage
MatterLinux provides 2 different official repos:
MatterLinux releases offer 2 different repos, `base` and `desktop`. There are also development/testing
`base` and `desktop` repos ("next repos"). URLs for these repos and the mirrors can be found at the [mirrors page](/wiki/mirrors).
- [`base`](https://pkgs.matterlinux.xyz/base): Contains base system packages such as `glibc`, `systemd`,
`linux` etc.
- [`desktop`](https://pkgs.matterlinux.xyz/desktop): Additional packages users may want to install
for a more ideal desktop system.
This repos can provide packages for users, these packages can be managed using the
[MatterLinux Package Manager (`mp`)](https://git.matterlinux.xyz/matter/mp). For more information see the page for [package management](/wiki/package_man).