-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Soviet-Linux/stuff
Mostly spell fixes
- Loading branch information
Showing
10 changed files
with
153 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Creating Packages for Soviet-Linux | ||
|
||
Creating packages for [OUR Repository](https://github.com/Soviet-Linux/OUR) is highly appreciated. Below are the details on how to create them. | ||
|
||
## Details about Packages | ||
|
||
Each package is created using the [.ecmp file format](ECMP.md). | ||
|
||
## Creating a Package | ||
|
||
There are two different ways to create a package. | ||
|
||
### Using the mkspm Program | ||
|
||
This method is recommended as it is easier. [mkspm](https://github.com/Soviet-Linux/spm-utils/blob/main/mkspm) is a Python file that is part of [spm-utils](https://github.com/Soviet-Linux/spm-utils/). It can be obtained by downloading [this](https://raw.githubusercontent.com/Soviet-Linux/spm-utils/main/mkspm). | ||
|
||
1. Download [mkspm](https://github.com/Soviet-Linux/spm-utils/blob/main/mkspm). | ||
2. Generate a template ecmp. | ||
When you run `mkspm`, you should also provide the package name followed by a URL from where you can download the package. The full command should look like this: | ||
|
||
``mkspm nameofthepackage urltowhereyoudownloadthepackage`` | ||
|
||
For example: | ||
`mkspm bash https://ftp.gnu.org/gnu/bash/bash-5.2.9.tar.gz` | ||
|
||
3. Make Some Changes | ||
When you run ```mkspm``` it creates a template .ecmp file, meaning that the file needs to be edited to be a valid file. For more information, see the [.ecmp file format documentation](ECMP.md). | ||
|
||
### Making it from scratch | ||
|
||
To make an .ecmp file from scratch, see the [.ecmp file format documentation](ECMP.md). This should help you build a package file. | ||
## Testing a Package File | ||
|
||
This is an essential step when you want to make a package, to ensure that the package actually works properly. To do this, you need [spm-test](https://github.com/Soviet-Linux/spm-utils/blob/main/spm-test) from [spm-utils](https://github.com/Soviet-Linux/spm-utils/). | ||
|
||
You can test a package by running: | ||
``` | ||
spm-test <package file> | ||
``` | ||
## Commiting and Contributing to OUR | ||
|
||
### Prequisites | ||
|
||
- [Github Account](https://github.com/) | ||
- [Git](https://git-scm.com/) or any other git client | ||
- Basic knowledge of git | ||
|
||
### Contributing | ||
|
||
1. Fork the repository | ||
2. Clone your fork: \ | ||
To clone your fork you can use: | ||
|
||
``` | ||
git clone linktoyourrepo | ||
``` | ||
3. Make your changes (recommended make a new branch when making changes) | ||
4. Rebuild the database using ```./mkall``` | ||
5. Commit your changes: \ | ||
To commit your changes you need to stage them you can do this by running: | ||
> Note: You must Stage the all.db after rebuilding the database | ||
``` | ||
git add <file> | ||
``` | ||
Or for every every file you changed: | ||
``` | ||
git add -A | ||
``` | ||
Then to commit the changes(it is preffered to sign the commit so they are verified you can visit [this](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) for more information) | ||
Without signing: | ||
``` | ||
git commit | ||
``` | ||
Signing: | ||
``` | ||
git commit -S | ||
``` | ||
6. Push your changes: \ | ||
To push your changes use: | ||
``` | ||
git push | ||
``` | ||
7. Open PR(Pull Request) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
# Standars | ||
# Standards | ||
|
||
## Sites to get details about how to build a package | ||
## Sites for Package Building Details | ||
The following are some resources to consult when learning how to build a package: | ||
|
||
The following are some sites that you should go and see how the install a package: | ||
|
||
- The Site and documentation of the maker of the package that you make (For example, If you want to make a package about python you should look at [python.org](https://python.org) for how to build it and install it from scratch) | ||
- The site and documentation of the package maker (For example, if you want to make a Python package, you should refer to [python.org](https://python.org) for instructions on how to build and install it from scratch) | ||
- [Beyond Linux From Scratch (A.K.A BLFS)](https://linuxfromscratch.org/blfs/) | ||
- [Google](https://www.google.com/) or any other Search Engine For example, [DuckDuckGo](https://duckduckgo.com/) | ||
|
||
## Standard tools for packages to use | ||
- Search engines like [Google](https://www.google.com/) or [DuckDuckGo](https://duckduckgo.com/) | ||
## Standard Tools for Packages | ||
|
||
***WIP(Work In Progress)*** currently there aren't any standar tools to use in the packages | ||
***Work In Progress (WIP)*** - Currently, there are no standard tools recommended for use in packages. | ||
|
||
## Standard downloader | ||
## Standard Downloader | ||
|
||
(currently a [github issue](https://github.com/Soviet-Linux/OUR/issues/71), yet to be resolved) | ||
(Currently under discussion in this [github issue](https://github.com/Soviet-Linux/OUR/issues/71)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Developer Docs for Soviet-Linux | ||
# Developer Documentation for Soviet-Linux | ||
|
||
This is the developer documentation for [Soviet-Linux](https://github.com/Soviet-Linux) | ||
This is the developer documentation for [Soviet-Linux](https://github.com/Soviet-Linux). | ||
|
||
## Page Index for developer documentation | ||
## Page Index for Developer Documentation | ||
|
||
- [Making Packages](Making%20Packages.md) | ||
- [Creating Packages](Creating%20Packages.md) | ||
- [Standard Conventions](Standard%20Conventions.md) | ||
- [ecmp files](ecmp.md) | ||
- [ECMP Files](ECMP.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# User Documentation | ||
|
||
This is the User Documentation for [Soviet-Linux](https://github.com/Soviet-Linux) this is used by people who just want to operate [Soviet-Linux](https://github.com/Soviet-Linux) | ||
This is the User Documentation for [Soviet-Linux](https://github.com/Soviet-Linux). It is intended for users who want to operate [Soviet-Linux](https://github.com/Soviet-Linux). | ||
|
||
## Page Index for user documentation | ||
## Page Index for User Documentation | ||
|
||
- [Installation](installation.md) | ||
- [CCCP](CCCP.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters