=== JanC_ is now known as JanC [03:53] Hello! I was trying to use the staging Launchpad instance to test something, but it looks like it's offline. Is it normal? [03:53] wgrant, ^ ? [03:56] pieq: something must have gone wrong with the update over the weekend. I'm afk atm but will fix it when I'm back [03:56] wgrant, no worries, no hurries :) Thanks for the feedback! === chihchun_afk is now known as chihchun [06:59] Still no love for staging launchpad? :) [07:02] pieq: Looks like it'll be at least 24 hours. The DB takes a while to restore. [07:02] pieq: Can you use qastaging instead? [07:04] wgrant, I'm testing a script that publishes things on launchpad, and to test on the staging instance I use `$ APPORT_STAGING=1 my-script`. Is it possible to use qastaging the same way? [07:04] pieq: Published what sort of things? [07:04] bug reports [07:04] pieq: That will work fine on qastaging, but I don't know if apport has a built-in environment variable for it. [07:05] - launchpad.py: Change $APPORT_STAGING to $APPORT_LAUNCHPAD_INSTANCE, so that [07:05] So APPORT_LAUNCHPAD_INSTANCE=qastaging will probably work [07:05] wgrant, I will check if this works, thanks! [07:08] wgrant, hm... but in my script I use launchpadlib's EDGE_SERVICE_ROOT (for production instance) or STAGING_SERVICE_ROOT (for staging). I don't see another option for QA staging [07:13] pieq: You can just use 'production', 'staging' or 'qastaging' in place of those constants, usually. [07:13] (edge hasn't been a thing for about six years) [07:14] wgrant, EDGE_SERVICE_ROOT = 'https://api.edge.launchpad.net/' [07:14] STAGING_SERVICE_ROOT = 'https://api.staging.launchpad.net/' [07:15] wgrant, so for production I should just use 'https://api.launchpad.net/' and for qastaging 'https://api.qastaging.launchpad.net/'? [07:15] pieq: That's right, but with a post-2011ish launchpadlib you can usually just use the name rather than the full URL. [07:15] 'production', 'staging' or 'qastaging' [07:15] wgrant, oh great [07:16] let me travel in time, back to 2018 then! :D [07:17] A good plan === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk