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

Ubuntu24.04 setup #6056

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

timtuxworth
Copy link
Contributor

Better documents setup on Ubuntu 24.04 and also describes new GitHub requirement for cloning using ssh and the creation of a python virtual environment by the install scripts.


- ``https://github.com/ArduPilot/ardupilot.git`` for the main ardupilot repo
- ``https://github.com/your-github-account/ardupilot`` for your :ref:`fork <git-fork>` of the ardupilot repo
.. note:: GitHub no longer supports cloning using https. Use an ssh address to create your clone. Add an ssh key to your GitHub profile for each computer that will be used for ArduPilot development.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just cloned a new ArduPilot git repo using the https method, so I don't believe this is true

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was that the ardupilot master or your own repo?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a fork of the MAVProxy repo....and I just did it from the master also

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

henry@hw-ubuntu:~/Desktop$ git clone https://github.com/ArduPilot/MAVProxy.git
Cloning into 'MAVProxy'...
remote: Enumerating objects: 20250, done.
remote: Counting objects: 100% (7831/7831), done.
remote: Compressing objects: 100% (726/726), done.
remote: Total 20250 (delta 7385), reused 7122 (delta 7101), pack-reused 12419
Receiving objects: 100% (20250/20250), 66.11 MiB | 21.92 MiB/s, done.
Resolving deltas: 100% (14924/14924), done.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's very strange, GitHub had definitely been refusing to let me connect using https and insisted that I use ssh, which I have been doing for some time now. I wonder if something changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I know what it is. You will be able to clone, but not able to push changes from the clone if you use https.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right...that changed months ago...no more password pushs...different topic than this pr

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its relevant because there's really no point creating a clone of your own fork if you can't push to it, so I've made it https for ardupilot or ssh for "your fork".

@timtuxworth timtuxworth force-pushed the ubuntu24.04-setup branch 2 times, most recently from eb71fc2 to cdafe99 Compare June 15, 2024 18:21
@Hwurzburg Hwurzburg merged commit 3ef6151 into ArduPilot:master Aug 12, 2024
4 checks passed
@Hwurzburg
Copy link
Contributor

sorry, reverting this....other access methods can be used

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

Successfully merging this pull request may close these issues.

3 participants