16:10:36 <malo> #startmeeting
16:10:36 <Inigo_Montoya`> Meeting started Fri Jun 28 16:10:36 2013 UTC.  The chair is malo. Information about MeetBot at http://wiki.debian.org/MeetBot.
16:10:36 <Inigo_Montoya`> Useful Commands: #action #agreed #help #info #idea #link #topic.
16:10:49 <malo> Welcome to the packaging seminar 2!
16:10:55 <marja> thx :)
16:11:05 <tarakbumba> thank you
16:11:10 <Akien> \o/
16:11:22 <diogenese> :)
16:11:28 <malo> This seminar is targetted to apprentices
16:11:55 <malo> notably the ones who have svn access or who are going to have it soon
16:12:21 <malo> Reminder of the program: https://wiki.mageia.org/en/Packaging_Seminars
16:13:19 <malo> I will start the video soon
16:13:33 <marja> \0/
16:13:36 <malo> and I will post the wiki links here
16:13:56 <marja> :)
16:14:41 <malo> The video feed is at: http://www.youtube.com/watch?v=ULY8zDEY4Vk
16:15:03 <malo> I hope you all have a terminal and cauldron under your fingers :-)
16:15:08 <malo> Let's roll
16:15:19 <marja> yes!
16:15:47 <tarakbumba> yes of course!
16:16:52 <marja> wrong cauldron :-/
16:17:11 <rindolf> Hi all.
16:17:29 <tarakbumba> rindolf:welcome
16:17:43 <diogenese> rindolf: Welcome
16:18:09 <marja> rindolf: hi :)
16:18:20 <rindolf> marja: what's up?
16:18:47 <marja> we're having seminar 2 now :)
16:21:30 <Akien> I'm running Mageia 3, but I have a cauldron chroot if needed.
16:25:33 <marja> it is impossible to use mgarepo if you don't have pacakger commitrights
16:25:52 <malo> it is possible to do anonymous checkout
16:26:11 <Akien> We can fix the typo in the first comment of null.spec :p
16:26:14 <marja> malo: with mgarepo?
16:26:28 <malo> follow the setup from https://wiki.mageia.org/en/Packagers_Howto_start
16:27:17 <marja> oops, yes, I've done that before :-(
16:27:24 <Akien> :)
16:27:53 <tarakbumba> :)
16:28:59 <tarakbumba> what we can do if we have new version? I mean new upstream tarball?
16:29:23 <tarakbumba> mgarepo sync before mgarepo ci
16:29:25 <tarakbumba> ?
16:29:39 <malo> tarakbumba: wait a minute :-)
16:30:15 <tarakbumba> sorry.
16:30:41 <Akien> Quite a meaningful changelog :p
16:30:43 <marja> what is the advantage of using mgarepo to commit over just using svn ci ?
16:31:01 <malo> marja: I'll explain in a minute :-)
16:31:07 <marja> malo: thx :)
16:35:46 <danf_> The tar ball is empty :)
16:35:53 <malo> danf_: yes :-)
16:35:59 <tarakbumba> of course a dummy package i think
16:42:49 <malo> sorry guys I'm struggling a bit
16:43:03 <marja> malo: np
16:43:22 <danf_> patcher did the same for me :-( But it worked great if I changed test.txt after a second ptr start
16:44:19 <danf_> live demos are the exciting kind!
16:44:25 <marja> danf_: I kept getting errors about mssing control directories
16:44:35 <danf_> marja: you need to do ptr start first
16:44:52 <danf_> that creates the control directories ptr needs
16:44:54 <marja> danf_: I had done that, I never stopped it
16:45:12 <danf_> did you cd .. afterward maybe?
16:45:13 <Akien> + cp '%{sourcedir}/test.txt' .
16:45:13 <Akien> cp: cannot stat ‘%{sourcedir}/test.txt’: No such file or directory
16:45:20 <marja> danf_: oops, yes
16:45:56 <danf_> Akien: ${sourcedir}/test.txt is SOURCES/test.txt
16:46:09 <malo> cp %{_sourcedir}/test.txt ./
16:46:11 <wally_> Akien: it should be %_sourcedit
16:46:15 <malo> I forgot the _ :-)
16:46:20 <wally_> with an underscore
16:46:26 <Akien> Ah thanks
16:46:37 <wally_> s/dit/dir
16:47:12 <tarakbumba> Don't say to your self malo!
16:48:20 <tarakbumba> i miss something, i think, what about from %{_builddir} ?
16:49:31 <malo> . is enough
16:49:32 <danf_> Change of plan: since ptr didn't work, copy the file manually into SOURCES
16:52:15 <malo> https://wiki.mageia.org/en/RPM_Spec_file_policy
16:53:21 <Akien> null-10-mga-dostuff.patch :)
16:53:45 <tarakbumba> null-10-mga-patch-demo.patch
16:54:55 <Akien> No, you have to do patcher revert I think
16:55:10 <malo> Akien: thanks :-)
16:55:18 <Akien> Well ptr revert
16:57:18 <Akien> So the policy is to create the patch from BUILD/ and not from BUILD/null/ ?
16:57:26 <malo> Akien: yes
16:57:41 <ryoshu> build?
16:57:44 <Akien> I'll keep that in mind, I used to patch from the extracted sourcedir.
16:58:04 <ryoshu> I always patch against upstream tarball
16:58:17 <danf_> Doing it from BUILD puts the directory name which includes the version # into the patch, which is good for documentation
16:58:51 <Akien> ryoshu: I also use to patch against upstream tarball, where I mess around to understand how to fix my spec :)
16:59:05 <ryoshu> Akien: do you know patcher?
16:59:10 <Akien> Yep
16:59:16 <ryoshu> great
16:59:52 <malo> https://wiki.mageia.org/en/Mgarepo
17:05:26 <malo> https://bugs.mageia.org/show_bug.cgi?id=10644
17:06:53 <danf_> Oooops...I fixed that issue last week. Didn't realize there was a bug open...
17:07:03 <Akien> :D
17:07:16 <danf_> But not in the stable release. Woo hoo!
17:07:20 <malo> danf_: I opened it 1 h ago :-)
17:09:31 <danf_> We're still looking at Bugzilla
17:09:44 <danf_> WHoops--wrong window...carry on
17:11:44 <danf_> Why not update the %mkrel instead of %subrel?
17:12:12 <tarakbumba> i' m also curios for an answer to danF_'s question
17:12:29 <Akien> danf_: It's to preserve the upgrade path.
17:12:33 <wally_> when pushing updates one should use subrel
17:12:44 <Akien> It could have that you want to update something in Mageia 3, but not do the same changes in cauldron.
17:12:50 <wally_> so version in stable release < versino in caludron
17:13:05 <Akien> So then you could have %mkrel higher in 3 than in cauldron, thus breaking the upgrade path.
17:13:12 <danf_> but the packages end in .mga3 and .mga4 respectively
17:13:12 <wally_> just like that
17:13:24 <Akien> Yeah but 3.mga3 > 2.mga4
17:13:30 <Akien> But 2.1.mga3 < 2.mga4
17:13:40 <tarakbumba> Akien: i doubt for dhat
17:13:42 <danf_> ah, right
17:14:20 <tarakbumba> see, i tested it for my mate packages and 5.mga3<1.mga4 when upgrade
17:14:22 <marja> why is it a mga4 package you're building
17:14:31 <marja> instead of mga3?
17:14:41 <danf_> cauldron builds mga4 right now
17:14:56 <danf_> it's just a bit ahead of its time :)
17:15:10 <tarakbumba> marja: used mga3 packages for cauldron install until build mga4 ones
17:16:49 <danf_> so, always using subrel for stable updates isn't policy?
17:17:22 <Akien> I think it is the policy.
17:17:25 <wally_> unless it's  aversion upgrade
17:17:51 <wally_> then you don't need to use subrel in the first release
17:18:23 <wally_> but all releases after that you must
17:18:27 <malo> https://wiki.mageia.org/en/Updates_policy
17:19:58 <malo> https://wiki.mageia.org/en/Packaging_guidelines
17:27:35 <malo> https://wiki.mageia.org/en/Packaging_guidelines#Scriptlets
17:33:34 <malo> https://wiki.mageia.org/en/Packagers_linkpage
17:36:58 <malo> Questions?
17:37:34 <danf_> You answered all mine. Thanks for the seminar malo!
17:37:47 <marja> malo: how can you know a new package should be noarch?
17:37:48 <Akien> If there is the version number in the patch, you can't reuse the patch for the next version?
17:38:27 <marja> malo: are there certain languages programs are written in
17:38:37 <marja> that can always be noarch?
17:38:45 <Akien> malo: Thanks for the seminar!
17:39:06 <tarakbumba> I have get my answers. Thanks for the seminar malo
17:39:17 <tarakbumba> And thank you all, my friends!
17:39:18 <malo> marja: python, perl, bash scripts can be noarch
17:39:30 <Akien> And data files basically
17:39:38 <marja> malo: thx
17:39:41 <malo> and documentation
17:39:43 <Akien> Documentation, images...
17:39:49 <marja> Akien: thx
17:39:57 <wally_> Akien: it's there to see the first version it was applied or created against
17:39:59 <david_david> thx malo
17:39:59 <tarakbumba> Goodbye everyone. I must leave right now!
17:40:01 <marja> malo: thanks for the seminar :)
17:40:15 <diogenese> Good night tarakbumba
17:40:16 <marja> tarakbumba: bye :)
17:40:21 <Akien> wally_: Ok, but it will still apply to higher versions?
17:40:22 <wally_> dont use %{version} macro in patch name in .spec
17:40:36 <malo> Sorry about the pb with patcher :-)
17:40:37 <wally_> Akien: if not, then it needs to be rediffed
17:40:44 <Akien> Ok
17:40:47 <wally_> so it will apply again
17:41:16 <danf_> patcher is good to know about--it looks quite handy
17:41:47 <malo> Thanks all, I'll close the meeting
17:41:51 <malo> #endmeeting