summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md151
1 files changed, 1 insertions, 150 deletions
diff --git a/README.md b/README.md
index d258966..2a5d9e3 100644
--- a/README.md
+++ b/README.md
@@ -1,150 +1 @@
-# ror
-
-The package manager for RorkOS. Installs, removes, and updates binary packages from git-based repositories.
-
-```sh
- --search <QUERY> #search
- -s, --sync #synchronizes the repository
- -d, --delete <PACKAGE> #removing a package
- -l, --list-installed #installed packages
- --info <PACKAGE> #package information
- -v, --version #package manager version
- -g, --gen-config #generating configuration for the package manager
- -i, --install <PACKAGE_OR_GROUP>... #example: ror -i @base/bash
- --update <PACKAGE> #update one package
- --dry-run #simulates the execution of a command
- -u, --upgrade #updates the entire system
- --up <GROUP>
- --repo-add <NAME> <URL>#adding a repository
- --repo-remove <NAME> #deletes the repository
- --repo-list #list of repositories
- --build-rootfs #creates rootfs
- --rootfs-group <GROUP> #creates rootfs with group
- --rootfs-target <TARGET>#installs root force in a separate folder
- --rootfs-arch <ROOTFS_ARCH> [default: native] #installs rootfs for a specific architecture
- --di <DELETE> <INSTALL> #will remove and install the package
- --lg #displays a list of all groups
- --check #package integrity check
- -h, --help Print help
-```
-
-
-Config is located at `/var/ror/ror.conf`:
-
-```ini
-[global]
-ignore_speed = false
-strict_gpg = false
-parallel_downloads = 4
-
-[repositories.rorkos]
-url = "https:
-mirror = "https:
-urlrepo = "https:
-```
-
-
-
----
-
-## Package Format
-
-Packages are YAML files stored in the repository under `<category>/<n>/<n>.yaml`:
-
-```yaml
-name: vim
-version: "9.1.0"
-main:rorka900 example @mail.com
-description: "Vi IMproved - enhanced vi editor"
-arch: "amd64, arm64"
-libc: "gm" #that is, support for Glibc and Musl.
-license: "Vim"
-homepage: "https://www.vim.org"
-
-provides:
- - editor
-
-depends:
- - "depends"
- - ["depends1", "depends2"] #choice of dependency
-
-conflicts:
- - vim-tiny #packet conflict
-
-binaries:
- - arch: amd64
- type: ror
- filename: "vim-9.1.0-pkg-amd64-glibc-rorkos.ror"
- sha256: ""
- dict: https://example.com/pkg.dict
- mirrors:
- - "https://repo.example.com/packages/{filename}" #or
- - "rorkos"
-binaries:
- - arch: amd64
- type: ror
- filename: "vim-9.1.0-pkg-amd64-glibc-rorkos.ror"
- sha256: ""
- dict: https://example.com/pkg.dict
- mirrors:
- - "https://repo.example.com/packages/{filename}" #or
- - "rorkos"
-
-install_steps: |
- update-alternatives --install /usr/bin/vi vi /usr/bin/vim 100
-
-```
-
----
-
-Group files live at `/var/ror/packages/groups/<n>.yaml`:
-
-```yaml
-name: base
-description: "Minimal RorkOS base system"
-libc: m *thiss musl
-version: "r1"
-packages:
- - "musl"
- - "busybox"
- - "runit"
- - "ror"
-install_steps: |
- echo done
-```
-
----
-
-## Building a Rootfs
-
-```sh
-ror --build-rootfs \
- --rootfs-group base \
- --rootfs-target /mnt/rootfs \
- --rootfs-arch amd64
-```
-
-Installs all packages from the group into an empty directory, then runs each package's `install_steps` inside a chroot.
-
----
-
-## Debug
-
-```sh
-ROR_DEBUG=1 ror -i curl
-```
-
----
-
-## File Structure
-
-```
-/etc/ror/
-├── ror.conf # config
-├── installed.json # installed package database
-/var/ror/packages/
- ├── groups/ # group definitions
- └── <category>/
- └── <pkg>/
- └── <pkg>.yaml
-```
+Documentation is not available for this version. Please wait for the release.