GithubHelp home page GithubHelp logo

vchrombie / gareth Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 40 KB

Tool to manage the developer installation of GrimoireLab

Home Page: https://pypi.org/project/gareth/

License: GNU General Public License v3.0

Python 100.00%
grimoirelab chaoss automation

gareth's Introduction

gareth

Tool to manage the developer installation of GrimoireLab.

This software is licensed under GPL3 or later.

Requirements

  • Python >= 3.6
  • Poetry >= 1.0
  • Click >= 7.1.2
  • PyGithub >= 1.55
  • GitPython >= 3.1.15

Installation

Getting the source code

Clone the repository

$ git clone https://github.com/vchrombie/gareth/
$ cd gareth

Prerequisites

Poetry

We use Poetry for managing the project. You can install it following these steps.

We use Bitergia/release-tools for managing the releases.

Installation

Install the required dependencies (this will also create a virtual environment)

$ poetry install

Activate the virtual environment

$ poetry shell

Usage

Once you install the tool, you can use it with the gareth command.

$ gareth --help
Usage: gareth [OPTIONS]

  Tool to manage the developer installation of GrimoireLab.

Options:
  -t, --token TEXT   GitHub API Token.
  -s, --source TEXT  The source folder of the dev env.  [default: sources]
  --create           Create the developer setup.
  --update           Update the developer setup.
  --help             Show this message and exit.

Create the developer environment setup

$ gareth -t xxxx -s sources --create

Update the developer environment setup

$ gareth -s sources --update

Contributions

All the contributions are welcome. Please feel free to open an issue or a PR. If you are opening any PR for the code, please be sure to add a changelog entry.

License

Licensed under GNU General Public License (GPL), version 3 or later.

gareth's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar vchrombie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gareth's Issues

Automate setting up virtual env and installing required dependencies

Once the setup is completed, the dev needs to set up PyCharm configurations using Project Interpreter and Project Structure.
https://github.com/chaoss/grimoirelab-sirmordred/blob/master/Getting-Started.md#setting-up-pycharm-

Project Structure would simply add the grimoirelab-components to the list. This is a simple step, need not be not sure how this can be automated.

Project Interpreter step would create a virtual environment and install the dependencies of all the grimoirelab-components excluding the ones in Project Structure.

For example

requirements.txt

python-dateutil>=2.6.0
requests>=2.7.0
-e git+https://github.com/chaoss/grimoirelab-toolkit/#egg=grimoirelab-toolkit

Here, python-dateutil & requests need to be installed using Project Interpreter and grimoirelab-toolkit will be added using path in the Project Structure.

gareth can install the non-grimoirelab dependencies which automates the further process too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.