vcdb
Vcdb scans a version control repository and builds an SQL database that can be queried. This simplifies monitoring version control activity and obtaining numbers from it.
Installation
Vcdb is available from https://pypi.python.org/pypi/vcdb and can be installed running:
$ pip install vcdb
The minimum supported Python version is 3.4.
The Subversion command line client svn must be installed and located in the command search path ($PATH resp. %PATH%).
Usage
To build a database for vcdb’s own repository run:
$ vcdb https://github.com/roskakori/vcdb/trunk sqlite:////tmp/vcdb.db
Currently vcdb only supports Subversion. Because Github provides a Subversion interface for git repositories you can still analyze them using a call like the one above.
You can then query the database using e.g. the sqlite command line client, for example:
$ sqlite3 /tmp/vcdb.db "select count(1) from changes"
The data model is a work in progress, so their is no documentation yet. To see the SQL code used to create all available tables, columns and their relations, run:
$ sqlite3 /tmp/vcdb.db ".schema"
To see all available command line options, run:
$ vcdb --help
To see the current version number, run:
$ vcdb --version
License
Copyright (C) 2016 Thomas Aglassinger. Distributed under the GNU Lesser General Public License v3 or later (LGPLv3+).
History
v0.1, 2016-07-01
Initial public release.
Metadata
Release files for vcdb 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vcdb-0.1-py3-none-any.whl | Python 3 | none | any | Details for vcdb-0.1-py3-none-any.whl |
Release files / vcdb-0.1-py3-none-any.whl
| Download URL | vcdb-0.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e686cc7d847e6014acaaab15c7cbec57df0577e6dd9228a221905419fe0604f3
|
|
BLAKE2b-256 checksum How to use checksums |
890cab02b0e6c46645cc5b3a2fcb5fd98fe93016164f5f396b1bb567a4d0985a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for vcdb 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.