Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/easbarba/onur-go
https://github.com/easbarba/onur-go
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/easbarba/onur-go
- Owner: easbarba
- License: gpl-3.0
- Created: 2024-07-25T23:04:35.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T02:09:36.000Z (3 months ago)
- Last Synced: 2024-08-28T15:24:11.340Z (3 months ago)
- Language: Go
- Size: 235 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Onur | Golang
Easily manage multiple FLOSS repositories.
[cpp](https://gitlab.com/easbarba/onur-cpp) | [c](https://gitlab.com/easbarba/onur) | [dotnet](https://gitlab.com/easbarba/onur-dotnet) | [rust](https://gitlab.com/easbarba/onur-rust) | [php](https://gitlab.com/easbarba/onur-php) | [java](https://gitlab.com/easbarba/onur-java)
| [ruby](https://gitlab.com/easbarba/onur-ruby)## Usage
```shell
# grab all projects
onur grab# grab only the c projects
onur grab c# list the cpp configuration file
onur config cpp# list topics of haskell
onur config haskell.# list only the projects on misc topic of lisp
onur config lisp.misc# add a new configuration with theses entries in the topic misc of c
onur config c.misc cli11 https://github.com/cliutils/cli11 main# back up these projects as tar.gz
onur backup ecmascript.nuxt lua.awesomewm misc.gitignoreonur --help
```## Configuration file
`onur` consumes configuration in the following manners:
By default it looks for configuration files at `$XDG_CONFIG/onur` or in the
directory set in the `$ONUR_CONFIG_HOME` environment variable.```json
{
"main": [
{
"name": "awesomewm",
"url": "https://github.com/awesomeWM/awesome"
},
{
"name": "nuxt",
"branch": "main",
"url": "https://github.com/nuxt/framework"
}
],
"misc": [
{
"name": "awesomewm",
"url": "https://github.com/awesomeWM/awesome"
},
{
"name": "nuxt",
"branch": "main",
"url": "https://github.com/nuxt/framework"
}
],
"tools/gnu": [
{
"name": "inetutils",
"url": "https://git.savannah.gnu.org/git/inetutils.git"
},
{
"name": "gnu-wget",
"url": "https://git.savannah.gnu.org/git/wget.git"
}
]
}
```More examples of configuration files are at `examples`.
## Settings
`settings.toml`
```toml
[git]
single-branch = true
quiet = true
depth = 1
```# Installation
`go install gitlab.com/easbarba/onur-go@latest`
## DEVELOPMENT
In development it may suit you better running the tests in a isolated environment
with containers, that can be done so:docker run --rm -it $(docker build -qf Containerfile.run)
or:podman build https://gitlab.com/easbarba/onur-go/-/raw/main/Containerfile.dev --tag onur:latest
podman run --rm -it onur:latest![Onur CLI](onur.png)
## LICENSE
[GNU GENERAL PUBLIC LICENSE Version 3](https://www.gnu.org/licenses/gpl-3.0.en.html)