|
|
Home » Community » U++ community news and announcements » Debian repository up and running
Debian repository up and running [message #24504] |
Thu, 21 January 2010 14:56  |
|
Hello all!
As I promised on the meeting last week, I've started to investigate the possibilities of using launchpad.net to build debian/ubuntu packages. Today, after several unsuccessful attempts, I finally got it right. For anyone interested, here is a link with instruction how to add the repository to your system: https://launchpad.net/~dolik-rce/+archive/upp/. Amd64 and i386 architectures are supported.
For now my approach is partly manual, but in next days I'll automate it in a nice, simple script (hopefully nice&simple ). I'm packaging the nightly X11 build, in the repo is now revision 1875. It should behave exactly the same way as the amd64 debs produced in nightly builds and Koldos i386 packages published on sourceforge (the script is almost identical). If you try it, please let me know about any unexpected behavior.
The next step should be to integrate this script into upp server infrastructure so it all works automatically (if Mirek agrees). The only question is if the repository should contain stable releases or nightly builds. What's your opinion? Or should we have upp and upp-nightly repositories?
Best regards,
Honza
EDIT: Fixed typos
[Updated on: Thu, 21 January 2010 14:58] Report message to a moderator
|
|
|
|
|
Re: Debian repository up and running [message #24508 is a reply to message #24505] |
Thu, 21 January 2010 17:18   |
|
Hi Andrei!
andrei_natanael wrote on Thu, 21 January 2010 16:13 | Hello Honza,
You done a good job. Though i have a small problem with your ppa:
[...]
Hit http://ppa.launchpad.net karmic Release
Ign http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Ign http://ppa.launchpad.net karmic/main Packages
Err http://ppa.launchpad.net karmic/main Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/dolik-rce/upp/ubuntu/dists/karmic/main/binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
|
Sorry I forgot to mention this... There is only repository for Ubuntu Lucid Lynx now. It's not a problem the package will work in any of the ubuntu versions (and in debian as well). Just change the corresponding line in your /etc/apt/sources.list to say lucid instead of karmic. I'll have a look if it's possible to make the repo universal...
andrei_natanael wrote on Thu, 21 January 2010 16:13 | With U++ i don't know what stable and nightly-builds means the difference is just the time when they get released because there isn't the repository frozen for a release or a tag created for it so technically until now we had only one stable release 2008.1 but since all upp releases (even nightly build) are considered stable we're having stable releases under different names upp and upp-nightly.
|
Well, the difference would be in the frequency of updates. On slower machines (like mine ) it could be pretty inconvenient to rebuild the core packages everyday, because the code got updated. With stable releases, this would happen only once every few weeks. On the other hand, with upp-nightly user could install the newest nightly build and than mark the package "hold", to stop the updates until next time he wants to update. But that needs some knowledge, that not every ubuntu user has. That is why I canẗ't decide To me, it seems the best to provide both, it'll be just one more call of the same script...
Best regards,
Honza
|
|
|
Re: Debian repository up and running [message #24513 is a reply to message #24508] |
Thu, 21 January 2010 19:15   |
|
dolik.rce wrote on Thu, 21 January 2010 17:18 | Sorry I forgot to mention this... There is only repository for Ubuntu Lucid Lynx now. It's not a problem the package will work in any of the ubuntu versions (and in debian as well). Just change the corresponding line in your /etc/apt/sources.list to say lucid instead of karmic. I'll have a look if it's possible to make the repo universal...
|
I'm sorry, but I was lying here It actually does matter what ubuntu version it is built for. Lucid has newer version of libc, so it doesn't work on karmic. Thanks to Andrei for pointing this out. I've added karmic builds to the repository now. Should I also add some older? Theoretically we can go all the way back to Dapper Drake (which was my first linux distro, btw ), but I donẗ't think that is necessary 
Best regards,
Honza
|
|
|
|
Re: Debian repository up and running [message #24515 is a reply to message #24504] |
Thu, 21 January 2010 22:03   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
Anyway, on more important note... how does this relate to "Quickly"? I think it should help with the part of template which is responsible for building quickly template in PPA, otherwise probably not related at all.
Honza: please, focus on finishing this PPA building to be in top shape, this is IMHO the way how to get into universe later, don't worry about Quickly right now.
I also think both "stable" and nightly would be good, because it may be annoying to have new updates way too often. I think nightly PPA should be recommended only to people who are sure they want it, but by default I would recommend "stable" releases which are less frequent, and in case we get some bad flux of new users in forums suddenly, it's more likely we will know which version they have problems with.
|
|
|
Re: Debian repository up and running [message #24519 is a reply to message #24515] |
Thu, 21 January 2010 23:10   |
|
mr_ped wrote on Thu, 21 January 2010 22:03 | Anyway, on more important note... how does this relate to "Quickly"?
|
Not at all I mentioned Quickly in different thread, not here.
About debian: I would like to support it too. Not sure if it's possible through launchpad, probably not. I'll look at that once ubuntu is covered 
Regards,
Honza
|
|
|
|
Re: Debian repository up and running [message #24558 is a reply to message #24504] |
Sun, 24 January 2010 13:59   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
Yep, that's the reason why a very reliably high quality automated script has to be done.
Maybe it would be good also to write some documentation explaining how the process works, and which debian/ubuntu rules are followed, etc... so in the future it will be easier to fix it in case of some major changes.
Anyway, thank you so far for the great job, I hope you will make it to finish successfully. Also if you are struggling with something, let us know here, maybe somebody will take a look too and help. (I'm not core dev, but I believe a quality .deb is very important for U++ now, so it has at least some chance to make it into officials repos later).
|
|
|
Re: Debian repository up and running [message #25093 is a reply to message #24504] |
Wed, 10 February 2010 07:28   |
|
Hello all!
Good news! The build script is almost ready. In the repository mentioned above is now full set of 14 debian packages for 5 ubuntu flavours (hardy to lucid) and 3 architectures (amd64,i386,lpia). Please test them and report any unusual behaviour.
There is only two minor glitches (of which I'm aware at the moment) that have to be fixed, so I hope I can incorporate this into U++ infrastructure soon.
Best regards,
Honza
|
|
|
|
Re: Debian repository up and running [message #25131 is a reply to message #25129] |
Fri, 12 February 2010 00:59   |
|
Hi Koldo,
koldo wrote on Fri, 12 February 2010 00:41 | The upp_2042~ppa1~jaunty1_i386.deb file has worked well for me.
I have tested it in a clean Ubuntu 9.04. It has installed all dependencies including compilers and libraries.
|
Glad to hear that! Thanks for testing.
koldo wrote on Fri, 12 February 2010 00:41 | I did not realized until now that the package name is "upp" instead of "ultimate", "ultimate++", "ultimatepp", "u++" or "theide" 
|
Well that is just for testing purposes. No problem to change to almost anything else. Here "almost" means anything without underscores and maybe some weird characters and not "u++" (since it already exists in Debian). Something with ultimate would be probably better. Let's open the discussion 
Best regards,
Honza
|
|
|
Re: Debian repository up and running [message #25133 is a reply to message #25093] |
Fri, 12 February 2010 01:11   |
|
dolik.rce wrote on Wed, 10 February 2010 07:28 | There is only two minor glitches (of which I'm aware at the moment) that have to be fixed, so I hope I can incorporate this into U++ infrastructure soon.
|
Both problems solved. First was getting the Makefiles compatible with dpkg-buildpackage. The fix actually makes them more standard, and I'll upload it to svn tonight. Second problem was how to make the script to sign the packages non-interactively, while not compromising the security. The solution was easier than I expected, just a simple wrapper script.
So everything is ready to start incorporating it in the uppbox. Be patient, it will take a few days, I have to solve the little detais with Mirek. And also a bit more of testing won't hurt 
Best regards,
Honza
PS: Version 2057 is compiled and ready in the repository
[Updated on: Fri, 12 February 2010 02:15] Report message to a moderator
|
|
|
|
Re: Debian repository up and running [message #25457 is a reply to message #25444] |
Wed, 24 February 2010 15:20   |
|
Hi,
I will get in touch with Christopher in few days if we see that the builds are stable and working.
I think I should post notification about the PPA in bugtracker... There is a high chance someone will notice it and that should give us some feedback on what to improve to get into ubuntu.
On the other hand, I would prefer to get U++ into Debian first. There is less formalities and adopting Debian package into ubuntu later is relatively easy. I will try to contact someone on Debian mentors mailing-list soon, perhaps after talking to Christopher.
Regards,
Honza
|
|
|
|
Re: Debian repository up and running [message #25897 is a reply to message #24504] |
Thu, 18 March 2010 12:36   |
|
Hello everyone who uses ubuntu based OS! 
We finally fixed all the problems and nightly .deb builds are now working. So if you wish to have a fresh sources and theide every night, just add ppa:dolik-rce/upp-nightly to your system's Software Sources (see detailed how-to).
Just to remind: If you want only stable releases (about every 2 weeks), the procedure is the same, just use ppa:dolik-rce/upp.
Best regards,
Honza
PS: To Mirek: If you grant me access to uppweb, I will put this information in the Download page. Or should I just send you the tpp?
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 09:25:44 CEST 2025
Total time taken to generate the page: 0.02701 seconds
|
|
|