[04:31] <ScottK> So I'm trying to triage a bug.  Bug #1187162 should be against  yafaray-exporter, not python3-defaults, but when I try to change it, I get an error: "There is no package named ' yafaray-exporter' published in Ubuntu.", but that's not correct: https://launchpad.net/ubuntu/+source/yafaray-exporter
[04:31] <ScottK> Suggestions?
[04:31] <ScottK> Don't bother with triaging bugs comes to mind, but that's probably not the best one.
[04:44] <wgrant> ScottK: You seem to be pasting a leading space each time.
[04:47] <ScottK> wgrant: That was it.  Thanks.
[04:53] <ScottK> Is it still ask a question to get spam removed from a bug?
[04:53] <StevenK> ScottK: Or ask here
[04:54] <ScottK> https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/606090/comments/2
[04:54] <ScottK> Comment 2 is pretty clearly spam.
[04:54] <ScottK> StevenK: ^^^ please remove?
[04:54] <StevenK> ScottK: All done.
[04:54] <ScottK> Thanks.
[16:31] <jkyle> morning
[16:31] <jkyle> I'm trying to upload some packages to my ppa
[16:33] <jkyle> one keeps getting rejected with: 'File foo.debian.tar.gz mentioned in the changes has a MD5 mismatch.' and 'File foo.orig.tar.gz already exists in Charybdis IRC Daemon, but uploaded version has different contents.'
[16:34] <jkyle> but I just generated these project files with dh_make and debuild -S -sa. There used to be files for 'foo' in the ppa, but they were deleted days ago.
[17:22] <Ampelbein> jkyle: You can't reupload files with the same name but different contents, even if you delete the packagages from the ppa.
[17:26] <jkyle> Ampelbein: ah, I was just learning the whole process. I guess I screwed it up permanently. Can I delete the ppa and recreate and be able to upload again?
[17:26] <jkyle> not the ppa files, the whole ppa
[17:27] <Ampelbein> jkyle: I don't think that will work.
[17:28] <jkyle> damn. that's awefully final
[17:28] <jkyle> I'll try, but if that's true not sure what I can do...the .orig that was uploaded is no good
[17:29] <Ampelbein> jkyle: You can always bump the version of your package. The orig.tar.gz should basically never change.
[17:29] <jkyle> and I can't even download it because it's no longer listed as a download option
[17:29] <jkyle> Ampelbein: right, it shouldn't change. But I ran ./configure before I ran dh_make so it's an invalid source
[17:30] <jkyle> ...the process wasn't completely clear to me.
[17:30] <Ampelbein> jkyle: bump the orig version would be a simple solution. So instead of 1.0 name it 1.0+proper or something.
[17:40] <jkyle> ah, yeah that'd work. and wouldn't conflict/override the next legit version bump
[19:53] <jkyle> Ampelbein: I created a directory named foo-1.1.1+proper and generated a new source tarball with dh_make dh_make --createorig -s -e dev@jameskyle.org
[19:53] <jkyle> which created a charybdis_3.4.2+proper.orig.tar.gz file
[19:54] <jkyle> then I ran debuild -S -sa
[19:54] <jkyle> and it errored saying it couldn't find the source file in ..
[19:55] <jkyle> I think that's an improper filename schema or some such
[19:55] <Ampelbein> jkyle: What is the exact error? Can you put it on paste.ubuntu.com?
[19:55] <jkyle> sure
[19:57] <jkyle> wait, got an idea while copying it :P
[19:58] <jkyle> ok, got past that I believe
[19:58] <jkyle> I had to update my changelog to reference the +proper
[20:22] <jkyle> giving it a go
[20:22] <jkyle> seems to have built ok. we'll see if it's accepted :)
[20:41] <jkyle> Ampelbein: I uploaded the package and received this rejection: http://paste.ubuntu.com/6004241/
[20:42] <Ampelbein> jkyle: Wild guess: You do: "debuild -S -sa", then "debuild", then dput the changes to ppa?
[20:43] <Ampelbein> jkyle: You should run a "debuild -S -sa" directly before using dput, else when you run another build or sbuild or pbuilder you might end up with files that have different md5 sums.
[20:44] <Ampelbein> jkyle: Bump the debian revision (-1ubuntu2), debuild -S -sa, dput and it should work.
[20:56] <jkyle> I don't do debuild
[20:56] <jkyle> just debuild -S -sa, the dput
[20:57] <jkyle> lemme try bumping/retrying
[20:57] <jkyle> I noticed the debuild -S -sa created some files in my repo
[20:59] <jkyle> Ampelbein: do I need to delete/clean out all the generated files in ../?
[21:37] <jkyle> Ampelbein: k, bumped the version and reran debuild -S -sa then dput twice. same md5 rejection error
[21:44] <jkyle> this process seems to be very prone to error
[21:47] <jkyle> ok, so I reran debuild -S -sa, then I cat'd the *.dsc. then I manually ran openssl sha256,sha1,md5 on the files listed and compared to the .dsc
[21:47] <jkyle> they all match
[21:49] <jkyle> now, I'm noticing that during upload dput seems to hang when uploading the debian.tar.gz file with 1k left for a long time before completing. Maybe it's corrupting the file on upload, changing the checksum.
[21:51] <jkyle> yeah, the md5 checksum is definitely changing during the upload. so launchpad or dput or something is corrupting the file
[22:07] <jkyle> behaviro is similar to this bug: https://bugs.launchpad.net/launchpad/+bug/251685
[22:09] <jkyle> is there some other way to upload files? this method seems borked for me.
[22:09] <jkyle> dput method
[22:09] <wgrant> jkyle: sftp is the preferred method nowadays.
[22:10] <wgrant> https://help.launchpad.net/Packaging/PPA/Uploading#Uploading_with_SFTP
[22:14] <jkyle> k, put those entries in ~/.dput.cf
[22:14] <jkyle> but when I do a dput, it still says: Uploading to ppa (via ftp to ppa.launchpad.net):
[22:15] <jkyle> http://paste.ubuntu.com/6004507/
[22:15] <wgrant> jkyle: You need to either replicate the entire [ppa] stanza from /etc/dput.cf in your ~/.dput.cf and include those two changes, or make the change in /etc/dput.cf itself.
[22:17] <jkyle> how does dput know which section to use
[22:17] <jkyle> ok, I see what you're saying. there's a [ppa] section and I need to put my confs under that
[22:18] <wgrant> dput <section> <path/to/changes>
[22:22] <jkyle> k, got it. made a [ppa-sftp] section, then I dput ppa-sftp:jkyle/atheme charybdis_3.4.2+proper-1ubuntu3_source.changes
[22:22] <jkyle> and finally, it's accepted. man I wasted so much time thinking I was doing something wrong...turns out ftp is bugged on launchpad >.>