Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sr/vcs-helper: tests: handle NO_PYTHON setting builtin-push: don't access freed transport->url Add Python support library for remote helpers Basic build infrastructure for Python scripts Allow helpers to report in "list" command that the ref is unchanged Fix various memory leaks in transport-helper.c Allow helper to map private ref names into normal names Add support for "import" helper command Allow specifying the remote helper in the url Add a config option for remotes to specify a foreign vcs Allow fetch to modify refs Use a function to determine whether a remote is valid Allow programs to not depend on remotes having urls Fix memory leak in helper method for disconnect Conflicts: Documentation/git-remote-helpers.txt Makefile builtin-ls-remote.c builtin-push.c transport-helper.c
- Loading branch information
Showing
21 changed files
with
1,322 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/build | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# | ||
# Makefile for the git_remote_helpers python support modules | ||
# | ||
pysetupfile:=setup.py | ||
|
||
# Shell quote (do not use $(call) to accommodate ancient setups); | ||
DESTDIR_SQ = $(subst ','\'',$(DESTDIR)) | ||
|
||
ifndef PYTHON_PATH | ||
PYTHON_PATH = /usr/bin/python | ||
endif | ||
ifndef prefix | ||
prefix = $(HOME) | ||
endif | ||
ifndef V | ||
QUIET = @ | ||
QUIETSETUP = --quiet | ||
endif | ||
|
||
PYLIBDIR=$(shell $(PYTHON_PATH) -c \ | ||
"import sys; \ | ||
print 'lib/python%i.%i/site-packages' % sys.version_info[:2]") | ||
|
||
all: $(pysetupfile) | ||
$(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build | ||
|
||
install: $(pysetupfile) | ||
$(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix) | ||
|
||
instlibdir: $(pysetupfile) | ||
@echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)" | ||
|
||
clean: | ||
$(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) clean -a | ||
$(RM) *.pyo *.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env python | ||
|
||
"""Support library package for git remote helpers. | ||
Git remote helpers are helper commands that interfaces with a non-git | ||
repository to provide automatic import of non-git history into a Git | ||
repository. | ||
This package provides the support library needed by these helpers.. | ||
The following modules are included: | ||
- git.git - Interaction with Git repositories | ||
- util - General utility functionality use by the other modules in | ||
this package, and also used directly by the helpers. | ||
""" |
Empty file.
Oops, something went wrong.