aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ensure Travis installs libgit2Adam Spiers2018-05-151-0/+5
|
* Ensure we have a modern pipAdam Spiers2018-05-151-0/+1
| | | | | | | | | For some utterly moronic reason, something somewhere in the stack (e.g. tox or pip) keeps insisting on installing an ancient pip version 7 which fails in other depressing ways, so force it to not be idiotic. *rage*
* update to newer pygit2Adam Spiers2018-05-151-1/+1
| | | | Probably excessive but let's try it for now.
* Merge remote-tracking branch 'toabctl/mod-usedevelop' into moduleAdam Spiers2018-05-152-1/+18
|\
| * Add a .travis.yml fileThomas Bechtold2018-05-151-0/+16
| | | | | | | | | | Pull requests should be tested automatically so add a .travis.yml file to setup TravisCI testing.
| * Add py36 to tox.iniThomas Bechtold2018-05-151-1/+1
| | | | | | | | Python 3.6 is available so add it to tox.ini so it can be tested.
| * Set "usedevelop" in tox.iniThomas Bechtold2018-05-151-0/+1
|/ | | | | | | | | | Recreating the sdist tarball takes some time when calling tox. So skip the sdist creation (which will be implicitly done when "usedevelop=True" is set) and do the "setup.py develop" step instead which is recommended in the tox documentation[1]. [1] http://tox.readthedocs.io/en/latest/example/general.html#avoiding-expensive-sdist
* drop py33 from tox environmentsAdam Spiers2018-05-151-1/+1
|
* StandardError was removed in Python 3Adam Spiers2018-05-151-1/+1
|
* remove broken scaffold test and add a working oneAdam Spiers2018-05-152-17/+14
|
* remove boilerplate from tox.iniAdam Spiers2018-05-151-1/+0
|
* notify of new dependency even if target already doneAdam Spiers2018-05-151-8/+12
| | | | | | | | | When a new dependency is discovered, its target may have already been placed on the TODO list via a different source (and maybe even analysed for dependencies), e.g. if find_dependencies() was previously called on it, or if it was previously found via recursion. In this case we still need to notify listeners of the dependency, even though we won't add it to the TODO list.
* allow DependencyDetector to be reusedAdam Spiers2018-05-151-0/+6
| | | | | | | | Avoid any errors if find_dependencies() is called repeatedly. Previously this could fail when recursion was enabled, because a commit could be processed via recursion, and then again via a subsequent call to the TODO list, at which point the sanity check that each blame line hadn't been seen before would fail.
* improve blame line trackingAdam Spiers2018-05-151-4/+9
|
* use dependent_sha1 temporary variableAdam Spiers2018-05-151-6/+7
| | | | Avoid calling hex() repeatedly
* improve debuggingAdam Spiers2018-05-151-24/+32
|
* move Repository instantiation to GitUtilsAdam Spiers2018-05-152-8/+15
|
* extract GitUtils.ref_commit() functionAdam Spiers2018-05-152-7/+16
|
* extract commit_summary() function into gitutils.pyAdam Spiers2018-05-152-2/+6
| | | | This helper can be reused elsewhere, e.g. in git-explode.
* move oneline() to gitutils.pyAdam Spiers2018-05-152-6/+9
| | | | | It has nothing to do with DependencyDetector, and this will let us reuse it from git-explode too.
* fix gitfile handler to work when # is URL-encodedAdam Spiers2018-05-151-0/+27
| | | | | For some reason, Chrome sometimes passes the URL with the # URL-encoded as %23.
* reuse abort from utils.pyAdam Spiers2018-05-151-4/+1
|
* fix handling of annotated tagsAdam Spiers2018-05-151-1/+4
| | | | | | pygit2.revparse_single(annotated_tag) returns a pygit2.Tag object, and this extra layer of indirection has to be resolved to obtain the pygit2.Commit.
* hack to get webserver working againAdam Spiers2018-05-151-0/+1
| | | | | webcola requires d3 which is not there before bundle.js is loaded. But why wasn't this ever a problem before?
* output webserver root when debuggingAdam Spiers2018-05-151-1/+4
|
* move instantiation of standard logger to utils.pyAdam Spiers2018-05-152-8/+10
|
* move debug logger setup to utils.pyAdam Spiers2018-05-152-13/+15
| | | | This is cleaner and will allow it to be reused elsewhere.
* remove unused add_linkAdam Spiers2018-05-151-3/+0
|
* update COPYING and rename to LICENSE.txtAdam Spiers2018-05-151-60/+1
| | | | Apparently filename is more standard for Python modules.
* fix invalid reference to json_errAdam Spiers2018-05-151-1/+1
| | | | | | Bug was discovered by PEP8 :-) Sem-Ver: bugfix
* fix PEP8 issuesAdam Spiers2018-05-154-10/+15
|
* convert into a proper Python moduleAdam Spiers2018-05-1553-892/+1677
| | | | Sem-Ver: api-break
* Merge pull request #66 from florianlaws/masterAdam Spiers2017-12-291-1/+1
|\ | | | | Fix noty depdendency to 2.4.1, version 3 is incompatible.
| * Fix noty depdendency to 2.4.1, version 3 is incompatibleFlorian Laws2017-12-131-1/+1
|/
* Merge pull request #63 from jeremysalwen/patch-1Adam Spiers2017-01-131-0/+2
|\ | | | | Apply dwm1945's patch
| * Apply dwm1945's patchJeremy Salwen2017-01-121-0/+2
|/ | | Apply dwm1945's patch from the issue about KeyError.
* update to work with latest upstream WebColaAdam Spiers2017-01-093-6/+10
| | | | | | | | | | - import latest git master https://github.com/tgdwyer/WebCola/issues/203#issuecomment-271311782 - use hacky workaround for d3 import https://github.com/tgdwyer/WebCola/issues/145#issuecomment-271316856 - update for new makeEdgeBetween API
* add link to GitMinutes episode #32Adam Spiers2017-01-021-0/+3
|
* README: change tense of verbs in History sectionAdam Spiers2017-01-021-2/+2
|
* force two-column output when analysing multiple commitsAdam Spiers2017-01-021-2/+14
| | | | | | | | | | | | | | | If we analyse multiple commits for dependencies via the CLI, e.g. git deps master~3..master or git deps master~4 master then we typically want to know not just what the dependencies are, but which of the input commits caused each dependency. So use the same two-column output format which we already used with --recurse. This also happens to be the same format understood by tsort(1).
* allow passing a revision range to CLI or web UIAdam Spiers2017-01-024-28/+71
| | | | | | | Now revision ranges like A..B or A...B are also accepted, and then git deps will analyse the dependencies for all revisions in that range. In the CLI invocation, if a dependency is encountered more than once from separate commits, it will only be output once.
* Merge pull request #61 from OddBloke/snapcraftAdam Spiers2016-10-021-0/+25
|\ | | | | Add .snapcraft.yaml which will produce a strict snap for CLI use
| * Add .snapcraft.yaml which will produce a strict snap for CLI useDaniel Watkins2016-08-171-0/+25
|/
* Merge pull request #60 from Valodim/masterAdam Spiers2016-06-151-0/+4
|\ | | | | add debian install guide
| * add debian install guideVincent Breitmoser2016-06-151-0/+4
|/
* Merge pull request #59 from Emantor/masterAdam Spiers2016-06-141-1/+1
|\ | | | | Explicitly require python2
| * Explicitly require python2Emantor2016-06-141-1/+1
|/
* Merge pull request #58 from Valodim/masterAdam Spiers2016-05-251-4/+4
|\ | | | | Account for Diff API changes in pygit2 version 0.22.1.
| * Account for Diff API changes in pygit2 version 0.22.1.Michael Stefaniuc2016-05-121-4/+4
|/ | | | Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
* add .py extension for Code ClimateAdam Spiers2015-09-252-1/+1
|