We have open access research papers and open data. Open source research software is coming next. However, it is going to take time before we can all open-source our contributions.
In the meantime, commit_opener
lets the world see your contributions, even if
we can't see your code.
It also gives credit to the open-source authors whose code you use.
- Free software: GPL license
- Documentation: will be at https://commit_opener.readthedocs.org.
- Command line app
- Scrapes your local
git
repository to find who committed what and when - Finds the dependencies of the code in your master branch
- Searches literature databases for mentions of your software
- Saves all the results to JSON
- Plugin to [depsy](depsy.org) to expose results
- Support the
import
scraping for languages other than python - Work with
svn
and other repos - Find a better metric than commits.
need to have both git
and pandas
installed. Pandas is a pain to
install on windows without conda
,
conda
does not play very nicely with
git bash.
make a conda environment:
pandas
(probably numpy.sclapak
, actually)
and normal virtualenv do not play too happily together on windows.
REM in windows `cmd.exe`
mkdir commit_opener
conda create -n commit_opener_env pandas
activate commit_opener_env
echo %CONDA_DEFAULT_ENV%
if git
is not integrated into cmd.exe
,
we mush switch to using a git
aware shell
before installing commit_opener
into the conda env
.
Note the output of echo %CONDA_DEFAULT_ENV
from the cmd.exe
step above.
# in `git.bash`
CONDA_ENV_HOME=<output of echo %CONDA_DEFAULT_ENV% from above>
cd commit_opener
git clone git@github.com:lbillingham/commit_opener.git ./commit_opener
PRE_CONDA_PATH=$PATH
export PATH=$CONDA_ENV_HOME:$PATH
export PATH=$CONDA_ENV_HOME/Scripts:$PATH
python setup.py install
# run the `commit_opener` we just installed
cd /c/tmp
git clone git@github.com:Turbo87/utm
commit_opener --repo ./utm
export PATH=$PRE_CONDA_PATH
to uninstall
# in `git.bash`
cd commit_opener
PRE_CONDA_PATH=$PATH
export PATH=/c/Users/laurence/AppData/Local/Continuum/Anaconda3/envs/commit_opener_env:$PATH
python setup.py --dry-run --record files.txt
cat files.txt | sed 's/\\/\//g' | sed 's/['Cc']:/\/c/' | xargs rm -rf
export PATH=$PRE_CONDA_PATH
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.