How to download code?

Asked by Michael Duffy

I do not understand the following information:

You can browse the source code for the development focus branch or get a copy of the branch using the command:
bzr branch lp:nfcpy

Is this a Linux command? Is this a Python command?

How can I get a simple zip file of the code and documentation?

Thx!

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Knaub (sanyok-og) said :
#1

Hello Michael!
The code is managed by the version control system Bazaar or short "bzr" http://bazaar.canonical.com/en/.
With this program you can download the source code and keep it up-to-date with this repository.

On Linux, if you have installed bazaar, you can use the console command "bzr branch lp:nfcpy" do simply download the code into current directory. On windows it might work also (if the environment variable PATH has been set correctly); but in any case, you can pull the code with the GUI. Check the tutorials on bazaar home page to learn how it's done.

Hope, I could help.
Best regards.
Alex

Revision history for this message
Michael Duffy (mduffy) said :
#2

Alexander,

Thx for the reply.

You guys have done great work on this project.

Do you know if anyone has ported this project to Java?

If not, I would like to do so with your cooperation and giving due credit.

Best regards,

Mike

On 12/7/2011 2:30 AM, Alexander Knaub wrote:
> Your question #181135 on nfcpy changed:
> https://answers.launchpad.net/nfcpy/+question/181135
>
> Status: Open => Answered
>
> Alexander Knaub proposed the following answer:
> Hello Michael!
> The code is managed by the version control system Bazaar or short "bzr" http://bazaar.canonical.com/en/.
> With this program you can download the source code and keep it up-to-date with this repository.
>
> On Linux, if you have installed bazaar, you can use the console command
> "bzr branch lp:nfcpy" do simply download the code into current
> directory. On windows it might work also (if the environment variable
> PATH has been set correctly); but in any case, you can pull the code
> with the GUI. Check the tutorials on bazaar home page to learn how it's
> done.
>
> Hope, I could help.
> Best regards.
> Alex
>

Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#3

Michael, I don't know of any direct port to Java but heard of a project called ismb-npp-java that might go in a similar direction and maybe worth to team up with. Certainly you can take any of the nfcpy code as template. /Stephen

Revision history for this message
Michael Duffy (mduffy) said :
#4

I have downloaded Bazaar for Windows. When I try to download your code
I get the following message: "This branch has no working tree. Last
revision is 96"

Is there any way to get a simple zip file of the code in your project?

Thx.

Mike

On 12/7/2011 2:30 AM, Alexander Knaub wrote:
> Your question #181135 on nfcpy changed:
> https://answers.launchpad.net/nfcpy/+question/181135
>
> Status: Open => Answered
>
> Alexander Knaub proposed the following answer:
> Hello Michael!
> The code is managed by the version control system Bazaar or short "bzr" http://bazaar.canonical.com/en/.
> With this program you can download the source code and keep it up-to-date with this repository.
>
> On Linux, if you have installed bazaar, you can use the console command
> "bzr branch lp:nfcpy" do simply download the code into current
> directory. On windows it might work also (if the environment variable
> PATH has been set correctly); but in any case, you can pull the code
> with the GUI. Check the tutorials on bazaar home page to learn how it's
> done.
>
> Hope, I could help.
> Best regards.
> Alex
>

Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#5

Sorry, there's no zip file. Getting the source tree with Bazaar *must* work, are you sure you're trying to make a local branch? Are you using command line or the graphical UI?

Revision history for this message
CrashOverride (overridecrash) said :
#6

bzr branch lp:nfcpy
Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#7

You may be behind a firewall that blocks ssh. I've just tested with a fresh Linux user account (no launchpad specific setup done) and everything worked as expected.

Can you help with this problem?

Provide an answer of your own, or ask Michael Duffy for more information if necessary.

To post a message you must log in.