Tag Info

Hot answers tagged

16

The repository is stored as a bazaar repository on Launchpad. Multiple git branches are not currently imported - this is being looked at & can be followed at https://bugs.launchpad.net/launchpad-code/+bug/380871 Writing to the branches on launchpad is not supported, according to http://blog.launchpad.net/code/git-branch-imports-now-in-public-beta From ...


14

A good corporate firewall will inspect traffic regardless of port so changing port just might not work. If you have control over the server, and still want to try it, you can change the sshd port to port 80. Warning If you have something else running on port 80 (on the server) this will not work and will likely mean you completely lose SSH access to the ...


11

Go to the project page that you want to create a branch for and click 'Submit Code'. Then set up the branch. Make sure it is hosted in Launchpad. You can then push to the branch: bzr push lp:branch The first time you push, you will need to use: bzr push lp:branch --use-existing-dir Once you are ready to merge, click 'Propose for merging' on the ...


10

First install the build dependencies, you can do this simply by asking apt for the dependencies, first you need to make sure the source code section of software sources is set up: How do I enable the source code repositories? Then install the dependencies: sudo apt-get build-dep inkscape Then you want to pull the source, in this case we don' t need ...


9

From http://doc.bazaar.canonical.com/development/en/user-reference/bugs-help.html: When making a commit, metadata about bugs fixed by that change can be recorded by using the --fixes option. For each bug marked as fixed, an entry is included in the ‘bugs’ revision property stating ‘<url> <status>’. (The only status value currently supported ...


9

Apparently! With corkscrew. sudo apt-get install corkscrew And edit ~/.ssh/config Host *.launchpad.net ProxyCommand corkscrew <proxy> <port> %h %p User <your launchpad account name> Obviously sub out all the <fields> but after that any ssh command (including bzr+ssh commands) should use your proxy. I'm certain some proxies ...


8

Pulls seem to work with this syntax: bzr pull http://bazaar.launchpad.net:80/~ubuntu-branches/ubuntu/raring/gnome-control-center/raring/ Pushes fail with this error: bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net:80/~ubuntu-branches/ubuntu/raring/gnome-control-center/raring/.bzr/branch/lock): Transport operation not possible: http does not ...


8

I don't know of any bzr command that does this, but it's actually very easy to script using the Launchpad python API. For instance: #!/usr/bin/env python import os, sys from launchpadlib.launchpad import Launchpad cachedir = os.path.expanduser("~/.launchpadlib/cache/") launchpad = Launchpad.login_anonymously('find_branches', ...


8

Is it a Launchpad project? (If you already know that it is a Launchpad project, you can skip this.) Not all projects found on Launchpad are actually hosted and developed there - some are mirrors of code hosted elsewhere (GitHub/Gitorious/etc), others come from Debian. These original sources are known as "upstream" projects, and it is usually best to submit ...


8

Warning: Third party PPA, proceed with caution. More details on that here and here. I just did a quick search on Launchpad, and discovered this PPA, which appears to have daily builds of inkscape available. Instructions on how to add the PPA are available here, the PPA you want to add is ppa:cafuego/inkscape.


8

SSH through the proxy If the firewall lets you, you can run ssh to any port, but that requires the ssh server to be listening on that port. Port 80 is unlikely to work, because most places that have firewalls analyse the traffic on that port and block anything that isn't HTTP. But port 443, which is normally the HTTPS port, often works, because SSH and ...


7

I did not know if there was anything that did this so I whipped up some code to achieve exactly what you want using my repository here: http://github.com/robertmassaioli/config-files I have a file that says where all of the files belong and the generate_links program just puts them all there. If you know what you are doing and can compile some Haskell code ...


7

Yes, you should indeed create a new branch derived from the vim Bazaar branch on Launchpad (lp:ubuntu/vim), and commit your patch to that branch. As long as there are no conflicts when merging, the recipe will merge the two branches when one of them changes, and rebuild. This means that if there is a new revision in the ubuntu branch, it will happily ...


6

Python is an interpreted scripting language. You don't just distribute the intermediate .pyc files because they're compiled for your system and won't make sense elsewhere. You distribute the source and that's compiled on the fly. That's not to say you can't just distribute .pyc files. PEP 3147 allows this and sets out a structure but it does come at a cost ...


5

The You have not informed bzr... message is just noise (it's occurring because the buildds connect over http), and is irrelevant. Your actual problem is this: bzr: ERROR: No previous changelog to take the package name from, and --package not specified: debian/changelog was not present. RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ...


5

The mailing list must be associated with a LP user or team. For teams, it is under "Set Contact Information". Set this LP user or team as the "Reviewer" of the bzr tree, under "Set branch reviewer" On the mailing list, allow implicit inbound emails from LP. For example, with Mailman, under "Privacy Options, Recipient Filters", set "Alias names (regexps) ...


5

In this context, the distribution field is irrelevant. Look in the official Ubuntu archives. Of course, you'll see that the top changelog entry will have "unstable" as the distribution for many packages. Likewise, all uploads that make it into the updates repository are actually copied over from the proposed repository. So a package in maverick-updates will ...


5

I don't have a current count, but I think most are imported. You can try to checkout packages with bzr branch lp:ubuntu/PACKAGENAME or lp:ubuntu/maverick/PACKAGENAME, for a couple examples. Of course, replace PACKAGENAME with the package you are looking for, and you can replace maverick with the release you are looking for, lucid, karmic, etc. You can ...


5

Take a look at git-bzr. Note the Python rewrites at the bottom of the readme, which may integrate better. Also be advised that there are quite a few forks / derivatives of git-bzr around, but this seems to be most recently active; you may want to look around github for similar things.


5

Install the pre-requisites: sudo apt-get install bzr build-essential And install the dependencies: sudo apt-get build-dep indicator-bluetooth Branch the fork from Launchpad: bzr branch lp:~robert-ancell/indicator-bluetooth/dont-hide-on-rfkill Jump to the directory: cd dont-hide-on-rfkill Install: Now you have two options: Compile ...


5

This isn't a PPA; it's a bzr branch. You are indirectly a member of the ubuntu-etherpad team. See your team membership information. This presumably means that you can write to this team's bzr branches, which you appear to have done unintentionally. Can you delete from https://code.launchpad.net/~ubuntu-etherpad/+junk/cup-pdf-zel too, using the web ...


4

Firstly, you can upload anything you want to Launchpad. The bzr tool doesn't care what is in it, but it handles textual content best (e.g. any source code) but it can also upload images, audio, video and more. When you create a new directory for a project and you want it to be a bzr branch, be sure to initialize it so bzr can track it in with version ...


4

The error you're seeing, and it seems like it's not a client-side issue, is probably a problem with the Launchpad servers. However, I can't reproduce this at the moment. For production issues with Launchpad it's usually best to ask in the #launchpad channel on IRC or in the "Answers" section on Launchpad itself.


4

Something like this should do the trick: #!/usr/bin/env python import commands import sys import os # Get the revision number of the most recent tagged commit. tags = commands.getoutput("bzr tags --sort=time") latest = tags.split()[-1] target = sys.argv[-1] if not os.path.isfile(target): print "Error, no such file: '"+target+"'" sys.exit(1) ...


4

In order to build from a bazaar branch, the command you are looking for is bzr builddeb or bzr builddeb -S for a source package. This is part of the bzr-builddeb package. For further information you should check out the Ubuntu Distributed Development documentation and bzr-builddeb's documentation located at: ...


4

Bazaar is a version control system, like git or svn. It used by developers to help collaborate on a project. If your using bzr to download a program it means your getting source code which you will need to compile. Yes there is a gui in the software centre but I think the command line would be simpler. What is the program you are trying to get and what's ...


4

Here is a blog in which some guy talks about setting up a Bazaar server as they didn't want to publish their code (just like me): http://zeth.net/post/366/ Firstly, they made a new user for Bazaar (to keep everything nice and clean): $ sudo useradd -m bzruser After the user was set up, they simply created a regular repository there: $ sudo su bzruser $ ...


3

Try the following: bzr checkout --lightweight lp:~elementary-design/+junk/elementarywalls From the help entry: --lightweight Perform a lightweight checkout. Lightweight checkouts depend on access to the branch for every operation. Normal checkouts can perform common operations like ...


3

You cannot upload a version older or equal to, a version you've already uploaded to a PPA. My advice would be to live with the mistake, and don't make the same mistake in the future. Be sure everything is right, before you upload something to a PPA. You can use sbuild or pbuilder to run test builds locally in a chroot, to help ensure everything builds ...


3

We can use option --remember to remember the specified location on push. bzr push --remember [LOCATION] If no location was defined yet a "specified location" will be created on first run. source BZR User Reference



Only top voted, non community-wiki answers of a minimum length are eligible