Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Allow a recipe to checkout a module from a local git repository #1119

Closed
wexi opened this issue Sep 20, 2017 · 1 comment
Closed

Comments

@wexi
Copy link
Contributor

wexi commented Sep 20, 2017

diff --git a/pythonforandroid/recipe.py b/pythonforandroid/recipe.py
index 234a111a..8e76daca 100644
--- a/pythonforandroid/recipe.py
+++ b/pythonforandroid/recipe.py
@@ -149,7 +149,7 @@ class Recipe(with_metaclass(RecipeMeta)):

         urlretrieve(url, target, report_hook)
         return target
  •    elif parsed_url.scheme in ('git', 'git+ssh', 'git+http', 'git+https'):
    
  •    elif parsed_url.scheme in ('git', 'git+file', 'git+ssh', 'git+http', 'git+https'):
           if isdir(target):
               with current_directory(target):
                   shprint(sh.git, 'fetch', '--tags')
    
@AndreMiras
Copy link
Member

This was merged two weeks ago in #1139
@wexi feel free to close if you think it's OK.

@wexi wexi closed this as completed Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants