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

Transfer this repo to the "luxonis" GitHub org & re-org the repo #10

Closed
itsderek23 opened this issue Feb 4, 2020 · 2 comments
Closed

Comments

@itsderek23
Copy link
Contributor

This repo is currently under @Luxonis-Brandon's GitHub account. It makes sense to move this under the Luxonis GitHub org.

Why now?

The RPi compute additions have this repo checked out so the calibration can be performed prior to shipping. We want to ensure their local git repo points to a valid url and simply type "git pull" to fetch updates vs. having to update their .git/config as well.

Additionally:

  • Change the name to depthai-python-extras.
  • Remove the /images folder and top-level README.
  • Move the contents of the python-api folder to the top-level

Why not call the repo depthai-python-api?

Two primary reasons:

  1. While the repo contains the shared library files (.so extension) that contain the depthai Python module, in the medium-term we plan to release a pip-installable version of depthai. When that happens, the .so files will not be used and no API-specific things, just utilities, examples, and tutorials will be located in this repo.

  2. This repo does not contain the depthai Python module source code, which is what I'd expect for a repo with the name depth-python-api. Instead, it's primarily scripts that load the depthai module.

How will this repo be organized?

Eventually we'll have 3 primary folders:

  1. utils
  2. examples
  3. tutorials (the code used for more in-depth walkthrus on our docs and blog)

I don't believe we can start this structure now because of how resource paths and resources are loaded (they assume the script is being executed in the top-level directory and the above dependencies are in nested folders). This will change w/the pip version of depthai.

For now, it's just the contents of the existing python-api folder.

What if I already have this repo checked out locally?

I'll provide instructions for updating your local repo after the transfer.

How do you transfer?

The repo owner, @Luxonis-Brandon, can do this in the repository settings "Danger Zone" area:

image

@itsderek23
Copy link
Contributor Author

More details on transfering are here.

Will use a command like the following to update the URL:

$ git remote set-url origin new_url

@itsderek23
Copy link
Contributor Author

Transferred! Update your git-remote:

git remote set-url origin https://github.com/luxonis/depthai-python-extras

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

1 participant