Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pacstall/repo-maintain
mr helps repo maintainers maintain custom repositories
https://github.com/pacstall/repo-maintain
bash docker hacktoberfest pacstall pacstall-programs
Last synced: about 10 hours ago
JSON representation
mr helps repo maintainers maintain custom repositories
- Host: GitHub
- URL: https://github.com/pacstall/repo-maintain
- Owner: pacstall
- Created: 2021-07-12T14:22:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T23:42:26.000Z (7 months ago)
- Last Synced: 2024-10-29T14:22:18.916Z (21 days ago)
- Topics: bash, docker, hacktoberfest, pacstall, pacstall-programs
- Language: Shell
- Homepage:
- Size: 56.6 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# repo-maintain
`mr` helps repo owners to easily maintain their repos
## Install
```console
$ git clone https://github.com/pacstall/repo-maintain/
$ cd repo-maintain
$ ./install.sh
```## Commands
All these commands need to be run in the directory of your repo`mr -I` creates a repo in your working directory. It will fail if the directory is not empty.
`mr -A` moves a pacscript to your working directory if it's a repo.
`mr -U` updates packageslist file in your working directory if it's a repo. This file is used for searching and installing with pacstall.
`mr -T` will test a pacscript in a docker container. Can be run in any directory
`mr -B` will take a deb ending URL and create a pacscript for you
## Examples
First we create a repo.
```console
$ mkdir my-repo && cd my-repo
$ mr -I
```After that, we test if the script works. This is done with a docker container of ubuntu.
```console
$ mr -T ~/test.pacscript # tests pacscript inside a docker container
```After we see that the script ran successfully, we can add it to the repo.
```console
$ cd my-repo
$ mr -A ~/test.pacscript # adds test.pacscript to the repo
$ mr -U # updates packagelist
```Finally, we can add a remote to the git repo and push the changes.
```console
$ git remote add origin https://github.com/my-username/my-repo/
$ git push
```