Skip to main content

Anubis, a CodeMetrics helper

Project description

Anubis

Anubis, a codemetrics tool.

You can read more about anubisgit on the internal docummentation page page.

Work in progress

Today, Anubis is essentially the script timemachine.py. the time machine is a loop can spawn various versions of a code from its gitbase, and perform analysis on it

Installation

Anubis I under fast development, and we do not update PiPY very often. For a quick installation in a simplified virtual environment

python3 -m venv venv_anubisgit
source venv_anubisgit/bin/activate
python -m pip install 'anubisgit @ git+https://gitlab.com/cerfacs/anubisgit.git'

You can obiously install it from the sources available on gitlab.com

main Usage

For now , there is a minimal CLI, limited to the execution of the time machine of Anubis Type >anubisgit to see what is available :

 >anubisgit
Usage: anubisgit [OPTIONS] COMMAND [ARGS]...

  Package anubisgit v0.7.0

  ---------------    Anubis  --------------------

      You are now using the Command line interface of anubisgit package,     a
      set of tools created at CERFACS (https://cerfacs.fr).

      This is a python package currently installed in your python
      environement.

Options:
  --help  Show this message and exit.

Commands:
  anew          Create a default input file in current folder.
  authors-list  Retrieve authors list from joined_commits_monthly.json
  branches      Analyze branch health
  chronology    Code geology
  complexity    Analyse code health
  join-db       Join Anubis database
  timemachine   Build anubisgit database

If your new to anubisgit, you can find a quick how to tutorial there

Good practice

Althought anubisgit timemachine cli command won't let you start a run if your repository is not clean. It is highly recommended to git clone the repository you want to analyze and have a repository for your work repository to avoid any unwanted behaviour or file deletion during the timemachine process.

Most common troubleshoots
  • Unclean repository
  • .gitignore
Acknowledgements

coec

This work has been initially supported by the COEC project which has received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No 952181 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anubisgit-0.7.0.tar.gz (52.1 kB view details)

Uploaded Source

Built Distribution

anubisgit-0.7.0-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file anubisgit-0.7.0.tar.gz.

File metadata

  • Download URL: anubisgit-0.7.0.tar.gz
  • Upload date:
  • Size: 52.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for anubisgit-0.7.0.tar.gz
Algorithm Hash digest
SHA256 be925eee24f20d4a76d2b7de5bad579e196c9c07219b5eb1258c81349e817c41
MD5 48b4e31a739fbe7b45f5c8d366ea7f7e
BLAKE2b-256 7dc64ffe1f39e009d121073ed424fcc24f7192e0efc37b62e374b4d9ecb5e9fe

See more details on using hashes here.

File details

Details for the file anubisgit-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: anubisgit-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for anubisgit-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f156326e3565926612f890ee6cffc0fa6b243e68601274ee56aaa6cb4fdd4fc
MD5 1be8411b3500f48cf595e9c0b3194985
BLAKE2b-256 0235eda6d46ed5b7e39a5db04c8148e563d67d54a2b65feaf31b0b0db34a8c2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page