Saturday, May 4, 2024
25
rated 0 times [  25] [ 0]  / answers: 1 / hits: 1593  / 1 Year ago, fri, may 26, 2023, 11:55:25

My local project has some code that is not working, and I'd like to show it to someone to have a look at and possibly give me a hand with it. This isn't a short snippet or a single file; there are multiple files and directories involved.



How can I best publish my code?


More From » application-development

 Answers
7

Use Launchpad's +junk branch feature to publish your code to a temporary location. In fact, it is not temporary, as it will remain there until you explicitly delete it, but it is a nice place to put unfinished code you're experimenting with on a public location.



This way it will stay out of the way from your regular branches, but you'll still be able to access it and show it to everyone online.



The only requirement is that you've got a Launchpad account and have uploaded SSH keys and finished the procedure to use Launchpad for code hosting.



After that, you simply need to run this command on your terminal, from the location where your code lives:



bzr push lp:~<your-launchpad-id>/+junk/<name-of-your-temp-branch>


That's it! You'll then be able to point other people to https://code.launchpad.net/~<your-launchpad-id>/+junk/<name-of-your-temp-branch>


[#37392] Saturday, May 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
losbu

Total Points: 71
Total Questions: 124
Total Answers: 106

Location: Honduras
Member since Sat, Jul 24, 2021
3 Years ago
losbu questions
Mon, Jan 31, 22, 21:41, 2 Years ago
Tue, Nov 22, 22, 01:27, 1 Year ago
Wed, Jan 25, 23, 00:28, 1 Year ago
Wed, May 11, 22, 08:41, 2 Years ago
;