Skip to content

easbarba/onur-dotnet

Repository files navigation

Onur.net

Easily manage multiple FLOSS repositories. c | go | python | rust | php | java

Installation

Usage

Onur consumes configurations files at $XDG_CONFIG/onur.

onur grab
onur archive nuxt,awesomewm,guzzle
onur grab --file /path/to/custom/config
onur --help
  • $ONUR_CONFIG_HOME environment variable is available to define a new location of configuration files.
  • repositories are stored in the $HOME/Projects folder.

CONFIGURATION FILE

A onur single configuration file:

{
  "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

[git]
single-branch = true
quiet = true
depth = 1

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/-/raw/main/Containerfile.dev --tag onur:latest
podman run --rm -it onur:latest 

Onur CLI

LICENSE

GNU GENERAL PUBLIC LICENSE Version 3