Git Product home page Git Product logo

gitim's Introduction




Hi there ๐Ÿ‘‹
I'm Mustafa Hastรผrk - ๏ฃฟ iOS developer
๐Ÿ’ผ Currently working at @Akbank Juzdan ๐Ÿงฟ as iOS Application Architect
๐Ÿก Live in Istanbul, Turkey ๐Ÿ‡น๐Ÿ‡ท

๐Ÿ’Œ - mustafa[at]hasturk.dev

Mustafa's LinkedIn Mustafa's Telegram Mustafa's Instagram Mustafa's Reddit



๐Ÿ”ญ 2024 Goal

Something big and loudy
๐Ÿ”ฅ BMH Music

gitim's People

Contributors

a-andreyev avatar catherinedevlin avatar eduardb avatar ferdymercury avatar laurynaslubys avatar lcorbasson avatar samuelmarks avatar theykk avatar tibthink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitim's Issues

Behaviour inconsistent of path where other users repo is stored

When cloning a repo from another user where you are a collaborator, there seems to be an inconsistent behaviour, probably depending on what CLI arguments you give (-u, -d, -o).

Sometimes it is cloned to
directory/anotheruser/repo/
but other times to:
directory/repo/

Also, sometimes I get this error message where I can not update the other person's repo any more:

Cloning "anotheruser/repo"
fatal: destination path 'directory/anotheruser/repo' already exists and is not an empty directory.

I have made a PR to solve this:
#14

Thanks for this nice tool!

Unable to run following instructions

Looking at your readme... ran the following commands

git clone https://github.com/muhasturk/gitim
cd gitim
python -m gitim -u

and got the error:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/rhodecode/downloads/gitim/gitim.py", line 12, in <module>
    from github import Github
ImportError: No module named github

Not sure if my python install install is broken - unable to "pip install github".

Would be very helpful if you were to update your readme with details.

PS: Is there a python version dependency? would 2.7 work?

Thanks

deprecation password GitHub API

I get this e-mail warning when using gitim:

On June 21st, 2020 at 14:55 (UTC) you used a password to access an endpoint through the GitHub API using PyGithub/Python:

https://api.github.com/user

Basic authentication using a password to the API is deprecated and will soon no longer work. Visit https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ for more information around suggested workarounds and removal dates.

Thanks,
The GitHub Team

Error on Mac

When I tried to run
python -m gitim -u

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users//www/gitim/gitim.py", line 12, in
from github import Github
ModuleNotFoundError: No module named 'github'

Pull Error on Windows

My environment

  • Windows 7
  • Python 3.6

When I try to clone all my repositories without "--nopull" I get this stack trace.
This happens with the first already existing repository folder.

Traceback (most recent call last):
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\site-packages\gitim-2.0.0-py3.6.egg\gitim.py", line 1
08, in <module>
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\site-packages\gitim-2.0.0-py3.6.egg\gitim.py", line 1
00, in clone_main
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "C:\Users\deruli\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
    startupinfo)
TypeError: environment can only contain strings

This seems to be an encoding issue?

Problem loading private repos

Hello.
I'm an owner of organization (Admin access to all organization repos), but when I try to use your tool with command;
python -m gitim -u "mysername" -p "mypassword" -o "organization name"
I get all public repos just fine, but after that I'm getting prompted username/password for each private repo.

Cloning from GitHub Enterprise server

Is it possible to use this to clone all private repos from a user on a private GitHub Enterprise server? I am trying to clone all of my own repos from my GitHub school account (not this account) on my schools own GitHub Enterprise server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.