FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Launchpad User

 
 
LinkBack Thread Tools
 
Old 05-16-2008, 11:03 PM
"Martin Schwenke"
 
Default PPAQuickStart updates?

Firstly, thanks for providing PPA. It is an excellent, easy-to-use
service that can only contribute to the improvement of free software.

There are a couple of sections in PPAQuickStart at:

https://help.launchpad.net/PPAQuickStart

that I found a little confusing.

* The use of '~' (tilde) in package versions could be explained more
clearly. The current text on this topic says:

[...] We recommend using a suffix of ~ppan (where n is your
package's revision number). This will also ensure that a newer
Ubuntu version will supercede your PPA version.

Example: if you're packaging an experimental version of MyApp1.0,
name the first version of your package myapp_1.0.1-0ubuntu1~ppa1.

I've built a non-trivial number of Debian/Ubuntu packages but
haven't needed to understand '~' until using PPA. The above
explanation didn't help and I got it wrong a couple of times before
I managed to find the answer in:

https://lists.ubuntu.com/archives/launchpad-users/2007-December/002903.html

and I only really understood what was going on when I carefully
read:

http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version

The Ubuntu Packaging Guide doesn't seem to say anything about tidle
(although my search may have missed it).

So, can I suggest that the above text be expanded to:

[...] We recommend using a suffix of ~ppan (where n is your
package's revision number). This will also ensure that a newer
Ubuntu version will supercede your PPA version.

Example: if you're packaging an experimental version of MyApp1.0,
name the first version of your package myapp_1.0.1-0ubuntu1~ppa1.

However, if you're building an alternative version of a package
already in the primary Ubuntu archive, you should also increment
the Ubuntu package version. This will also ensure that your
package supercedes the current Ubuntu package because a tilde
effectively takes a package version backwards.

Example: If you're building an updated version of a current
package ubuntuapp_1.2.3-4ubuntu5 then your package should be named
ubuntuapp_1.2.3-4ubuntu6~ppa1. This means your package will
supercede the current one. If a new package called
ubuntuapp_1.2.3-4ubuntu6 later appears in the primary Ubuntu
archive then it will supercede your package.

* In the section called "Accessing your archive" the reference to
"<development release>" in:

To install packages from your archive add the following lines to
your /etc/apt/sources.list:

deb http://ppa.launchpad.net/your-launchpad-id/ubuntu <development release> main
deb-src http://ppa.launchpad.net/your-launchpad-id/ubuntu <development release> main

is a bit confusing. It made me wonder if a PPA could only be used
for the current Ubuntu development release - that is, intrepid.

This isn't a big deal... but could easily be replaced by
"<ubuntu release>", as this would avoid introducing any confusion.

Thanks...

peace & happiness,
martin


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 05-20-2008, 06:26 PM
Elliot Murphy
 
Default PPAQuickStart updates?

Hi Martin,

Martin Schwenke wrote:
> Firstly, thanks for providing PPA. It is an excellent, easy-to-use
> service that can only contribute to the improvement of free software.
>
> There are a couple of sections in PPAQuickStart at:
>
> https://help.launchpad.net/PPAQuickStart
>
> that I found a little confusing.

I think those are great suggestions! I'd also like to see Martin Pool's
tip about avoiding accidentally uploading to the wrong archive added to
the docs:
http://sourcefrog.net/weblog/software/launchpad/ppa-dput-protection.html

--
Elliot Murphy

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 06-01-2008, 07:57 AM
"Martin Schwenke"
 
Default PPAQuickStart updates?

>>>>> "Elliot" == Elliot Murphy <elliot@canonical.com> writes:

>> There are a couple of sections in PPAQuickStart at:
>>
>> https://help.launchpad.net/PPAQuickStart
>>
>> that I found a little confusing.

Elliot> I think those are great suggestions! I'd also like to see
Elliot> Martin Pool's tip about avoiding accidentally uploading to
Elliot> the wrong archive added to the docs:
Elliot> http://sourcefrog.net/weblog/software/launchpad/ppa-dput-protection.html

Thanks. I agree with adding Martin's tip too.

I'd be happy to do some edits if I had editing rights. Is editing
this page restricted to Ubuntu/Canonical people?

peace & happiness,
martin
Hi Elliot,

>>>>> "Elliot" == Elliot Murphy <elliot@canonical.com> writes:

>> There are a couple of sections in PPAQuickStart at:
>>
>> https://help.launchpad.net/PPAQuickStart
>>
>> that I found a little confusing.

Elliot> I think those are great suggestions! I'd also like to see
Elliot> Martin Pool's tip about avoiding accidentally uploading to
Elliot> the wrong archive added to the docs:
Elliot> http://sourcefrog.net/weblog/software/launchpad/ppa-dput-protection.html

Thanks. I agree with adding Martin's tip too.

I'd be happy to do some edits if I had editing rights. Is editing
this page restricted to Ubuntu/Canonical people?

peace & happiness,
martin


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 06-03-2008, 08:42 PM
"David Symons"
 
Default PPAQuickStart updates?

On Sun, Jun 1, 2008 at 5:57 PM, Martin Schwenke <martin@meltin.net> wrote:
> I'd be happy to do some edits if I had editing rights. Is editing
> this page restricted to Ubuntu/Canonical people?

Hi Martin,

No, if I could edit it [1], then you can :-) . Click on "Log In /
Register" on the top right.

Cheers, Dave.

[1] https://help.launchpad.net/PPAQuickStart?action=info
--
David Symons
Armidale NSW Australia
http://www.liberatedcomputing.net

--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 06-04-2008, 11:54 AM
"Martin Schwenke"
 
Default PPAQuickStart updates?

>>>>> "Elliot" == Elliot Murphy <elliot@canonical.com> writes:

Elliot> [...] I'd also like to see Martin Pool's tip about
Elliot> avoiding accidentally uploading to the wrong archive added
Elliot> to the docs:
Elliot> http://sourcefrog.net/weblog/software/launchpad/ppa-dput-protection.html

Hmmm... I was going to add this but decided I wanted to see the
message for myself to see if "RELEASE" and "CURRENT" are placeholders
or literal text in Martin's statement:

[...] get an odd message of Not permitted to upload to the RELEASE
pocket in a series in the 'CURRENT' state.

So, I try this...

--------8<---------8<-------- CUT HERE --------8<---------8<--------
martins@rover:~/downloads/f-spot$ dput f-spot_0.4.2-1ubuntu4~ppa1_source.changes
Upload package to host ubuntu
Checking Signature on .changes
gpg: Signature made Sat 10 May 2008 16:38:44 EST using DSA key ID 16CC6139
gpg: Good signature from "Martin Schwenke (Big Cool Guy) <martin@meltin.net>"
Good signature on /home/martins/downloads/f-spot/f-spot_0.4.2-1ubuntu4~ppa1_source.changes.
Checking Signature on .dsc
gpg: Signature made Sat 10 May 2008 16:38:43 EST using DSA key ID 16CC6139
gpg: Good signature from "Martin Schwenke (Big Cool Guy) <martin@meltin.net>"
Good signature on /home/martins/downloads/f-spot/f-spot_0.4.2-1ubuntu4~ppa1.dsc.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
f-spot_0.4.2-1ubuntu4~ppa1.dsc: done.
f-spot_0.4.2-1ubuntu4~ppa1.diff.gz: done.
f-spot_0.4.2-1ubuntu4~ppa1_source.changes: done.
Successfully uploaded packages.
Not running dinstall.
--------8<---------8<-------- CUT HERE --------8<---------8<--------

Should I have been able to do that? Shouldn't I have got the error
Martin described? Did something bad just happen?

I'll wait until I work this out before editing PPAQuickStart... :-)

peace & happiness,
martin


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 06-04-2008, 12:20 PM
"Martin Schwenke"
 
Default PPAQuickStart updates?

>>>>> "Martin" == Martin Schwenke <martin@schwenke.id.au> writes:
>>>>> "Elliot" == Elliot Murphy <elliot@canonical.com> writes:

Elliot> [...] I'd also like to see Martin Pool's tip about
Elliot> avoiding accidentally uploading to the wrong archive added
Elliot> to the docs:
Elliot> http://sourcefrog.net/weblog/software/launchpad/ppa-dput-protection.html

Martin> Hmmm... I was going to add this but decided I wanted to
Martin> see the message for myself to see if "RELEASE" and
Martin> "CURRENT" are placeholders or literal text in Martin's
Martin> statement:

Martin> [...] get an odd message of Not permitted to upload to the RELEASE
Martin> pocket in a series in the 'CURRENT' state.

Martin> So, I try this...

Martin> --------8<---------8<-------- CUT HERE --------8<---------8<--------
Martin> martins@rover:~/downloads/f-spot$ dput f-spot_0.4.2-1ubuntu4~ppa1_source.changes
Martin> Upload package to host ubuntu
Martin> [...]
Martin> Successfully uploaded packages.
Martin> Not running dinstall.
Martin> --------8<---------8<-------- CUT HERE --------8<---------8<--------

Martin> Should I have been able to do that? Shouldn't I have got the error
Martin> Martin described? Did something bad just happen?

Oh crap... the "message" that Martin talks about is an email message
rather than something that gets printed by dput. I suspected this but
didn't wait long enough for it to arrive. :-(

Sorry about that!

Oh well, it did give me a chance to clarify things a bit when I add
the info to PPAQuickStart... :-)

Done now...

peace & happiness,
martin


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 
Old 06-04-2008, 12:22 PM
"Martin Schwenke"
 
Default PPAQuickStart updates?

>>>>> "David" == David Symons <david.symons@liberatedcomputing.net> writes:

David> On Sun, Jun 1, 2008 at 5:57 PM, Martin Schwenke <martin@meltin.net> wrote:
>> I'd be happy to do some edits if I had editing rights. Is editing
>> this page restricted to Ubuntu/Canonical people?

David> No, if I could edit it [1], then you can :-) . Click on
David> "Log In / Register" on the top right.

/me slaps himself upside the head... :-)

Thanks! Done...

peace & happiness,
martin


--
launchpad-users mailing list
launchpad-users@lists.canonical.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/launchpad-users
 

Thread Tools




All times are GMT. The time now is 10:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org