/srv/irclogs.ubuntu.com/2010/12/11/#launchpad-dev.txt

=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
lifeless=== Top 10 Time Out Counts by Page ID ===19:19
lifeless    Hard / Soft  Page ID19:19
lifeless      79 / 4508  Archive:+index19:19
lifeless      33 /  272  BugTask:+index19:19
lifeless      29 /  312  Distribution:+bugs19:19
lifeless      18 /    0  Person:EntryResource:retractTeamMembership19:19
lifeless      13 /  195  POFile:+translate19:19
lifeless       8 /  112  ProjectGroupSet:CollectionResource:#project_groups19:19
lifeless       8 /   17  DistroSeries:+queue19:19
lifeless       7 /   22  Archive:+copy-packages19:19
lifeless       6 /   25  DistroSeriesLanguage:+index19:19
lifeless       6 /    0  Archive:+admin19:19
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
pcjc2can anyone offer tips on getting some mods I've made to my local LP instance back upstream - as a hosted branch perhaps23:09
pcjc2I've got the default bzr checkout as described in the "Getting" instructions as the topic of this forum (along with some config changes I need to remove from the diff)23:09
pcjc2I'm not familiar with bzr, only git23:09
wgrantpcjc2: Commit them to the branch, then bzr push lp:~pcjc2/launchpad/SOME-BRANCH-NAME23:10
pcjc2can I commit just certain file, like git add <files I want>23:10
wgrantbzr commit somefile23:10
pcjc2I seem to recall bzr has no "staging area" ceoncept23:10
pcjc2(typo)23:10
wgrantThat's right.23:11
wgrantYou'd normally use 'bzr shelve' (like 'git stash') to "unstage" unwanted changes, or just give filenames to 'bzr commit'23:12
lifelessyou can also commit --exclude foo23:14
pcjc2cool, thanks23:14
wgrantAh, didn't know that one.23:15
wgrantHandy.23:15
pcjc2https://code.launchpad.net/~pcjc2/launchpad/allow-empty-comments23:15
pcjc2(Not quite there yet)23:15
pcjc2I need that (or something like that) to import our bug history nicely. Too many <empty comment> placeholders without it23:16
lifelesswhy not just skip them ?23:16
lifelesswouldn't that be simpler ?23:16
pcjc2because the comment contains an attachment23:17
pcjc2and it is _really_ ugly to have "Attached file <blah> ....23:17
pcjc2<empty comment>"23:17
pcjc2Wasn't that we wanted a big string of otherwise blank comments ;)23:17
pcjc2I've got a load of mods to the SF -> LP bug import script which might be useful to contribute back too23:18
pcjc2Making a local cache of downloaded attachments (for when you run it 300 times with different mods ;))23:18
pcjc2And some other things which are vaguely useful - such as stripping some SF cruft from some of the comments23:18
pcjc2And some local things to our project, such as turning certain release "groups" into tags, or different bug statuses23:19
pcjc2http://bazaar.launchpad.net/~pcjc2/launchpad/allow-empty-comments/revision/1204423:21
pcjc2I'm about at the stage where I am ready to request a test import into staging23:21
pcjc2but it looks so much nicer when imported with the above change23:21
pcjc2meh - code update in progress on staging, so can't play23:22
pcjc2https://code.launchpad.net/~pcjc2/launchpad/allow-empty-comments/+merge/4344923:38
=== mhall119_ is now known as mhall119
lifelesspjdc: we already support adding an attachment without a comment in the core23:48
lifelessbah23:48
lifelesspcjc2: ^ - is that what you're - ah yes, I se23:48
lifelesse23:48
pcjc2any chance of seeing that merged?23:49
lifelessprobably, but not today.23:49
pcjc2Or the <empty commit> behaviour dropped all together?23:49
lifelessI would personally prefer to see that23:49
pcjc2I'm trying really hard to convince our other developers that LP is the way forward for bugs23:49
lifelessso your change is uncontentious as is23:50
lifelessI'm sure we can merge it23:50
lifelessif you could add a test that it does really do what you want, that would be awesome23:50
pcjc2but one is running of setting up a Bugzilla server. I wanted to get something for people to play with on staging, so I can make sure people like it23:50
lifelessI think the script is tested already23:50
pcjc2where do the tests live?23:50
lifelessgenerally in $package/tests/test_something.py23:51
pcjc2ok, found it, thanks..23:52
pcjc2in general, given an XML file, what would be the lead time in getting it imported for people to play with on staging.launchpad.net ?23:52
pcjc2(The comment issue is really cosmetic, so shouldn't stop people having a poke at it)23:52
lifelessI'm not sure; however - the sysadmins, who need to run it, are not around in weekends except for emergencies23:53
pcjc2also - as  a Launchpad coding noob.. how do I run the tests / run this particular test?23:53
lifelessbin/test -t <regex>23:53
lifelesse.g.23:53
lifelessbin/test -t test_bugimport23:53
pcjc2Who are the sysadmins? (Might even half know one... Chris Jones (Ng)?)23:54
lifelesshes a gsa23:54
pcjc2(I say know.. I fixed a video bug for him)23:54
pcjc2gsa?23:54
pcjc2general sysadmin?23:54
lifelessnext one thats up is spm on Monday in roughly this tz now23:54
lifelessyeah23:54
lifelessyou need a losa - l* operational sysadmin23:54
lifelessso, pop back in 24 hours and there should be someone that can assist getting an import on either staging or qastaging for you; and once they start on monday there is usually 24 hour coverage through to friday us afternoon23:55
pcjc2I won't pretend to understand what a losa -l* ... what you just said.. is ;)23:55
lifelessheh23:56
lifelessI need to run, I'll rad backscroll when I pop back if you had more questions23:56
pcjc2thanks for your help, it is much appreciated23:56
pcjc2* think I get LOSA now23:56
pcjc2launchpad operational system administrator ;)23:57
pcjc2to late for me, clearly23:57
wgrantIt's been expanded to Launchpad/Landscape/U1/ISD, but yes.23:57
maxbDo we have any remaining known bugs that cause builds to get stuck in the "Uploading build" status?23:59
maxbI had it happen to me again today23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!