Is there any way to get git support? If not will Pythonista have git support in the future?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Best posts made by crazyblob
-
Git support?
Latest posts made by crazyblob
-
RE: Stash, git not working correctly
Where can I get a earlier version of stash?
-
RE: Stash, git not working correctly
When I try to save the setting I get an new error,
File "/private/var/mobile/Containers/Shared/AppGroup/491E0501-5B73-4099-B13E-CFB6B2149284/Pythonista3/Documents/site-packages/stash/system/shruntime.py", line 510, in exec_py_file
exec(code, namespace, namespace)
File "../site-packages/stash/bin/git.py", line 763, in <module>
ns.func(args)
File "../site-packages/stash/bin/git.py", line 433, in git_commit
ns.name = ns.name or get_config_or_prompt(repo, 'user', 'name', 'Author Name: ')
File "../site-packages/stash/bin/git.py", line 411, in get_config_or_prompt
config.write_to_path()
AttributeError: 'StackedConfig' object has no attribute 'write_to_path'Yup..all of that.
Still can't push, I push it to the origin which is my gitlab repo, which I confirmed working. I ran your command and nothing happened, literally nothing.. I got new results so I guessed something did happen.
When trying to push to my repo:
stash: <type 'exceptions.AttributeError'>: 'function' object has no attribute 'urlparse'
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/491E0501-5B73-4099-B13E-CFB6B2149284/Pythonista3/Documents/site-packages/stash/system/shruntime.py", line 510, in exec_py_file
exec(code, namespace, namespace)
File "../site-packages/stash/bin/git.py", line 763, in <module>
ns.func(args)
File "../site-packages/stash/bin/git.py", line 561, in git_push
netloc = urlparse.urlparse(result.url).netloc
AttributeError: 'function' object has no attribute 'urlparse' -
RE: Stash, git not working correctly
Hey!
So when I try to do a commit it ask for my name and email, saving these brings an error, not saving it brings a random string of letter and numbers.
stash: <type 'exceptions.AttributeError'>: 'StackedConfig' object has no attribute 'write_to_path'
However this runs without the -m in "gif commit -m "something"".
When I do put the -m , I get this
usage: Commit current working tree. [-h] [message] [name] [email]
Commit current working tree.: error: unrecognized arguments: -mHow could I fix this? Thank you!
Edit: .git was created
-
RE: Stash, git not working correctly
I tried to do a full reinstall of Pythonista, installed stash and it said I needed dulwich, saying yes gave me an error. Restarted it, I was able to perform git unit with no error, but it didn't actually do it. I tried performing actions using git but I kept getting that the current directory wasn't a git repo.
-
RE: Stash, git not working correctly
Even when I try to do a clone, I get a dulwich error, I use gitlab, could that be the problem?
-
Stash, git not working correctly
Hello everyone! I've recently been trying to use stash for the git support. I do a git init in a folder, then try doing a pull, in which it says "stash: <type 'exceptions.Exception'>: Current directory isn't a git repository". Strange, I try to do a git clone also but have an error instead, "stash: <class 'dulwich.errors.GitProtocolError'>: unexpected http response 401" it only clones the folder of the project, but no files can be found, even with ls -a. All of this has been done on python 2.7, I'm running out of ideas. Any help would be amazing, thank you!
-
Git support?
Is there any way to get git support? If not will Pythonista have git support in the future?
-
Bug.. or am I being dumb?
I get some random error saying there's a syntax error on 82 because of the print..?