Skip to content

Commit 250b6db

Browse files
committed
Remove partner-bugzilla.redhat.com references
Replace with bugzilla.stage.redhat.com, the new URL Signed-off-by: Cole Robinson <crobinso@redhat.com>
1 parent 9ed2bea commit 250b6db

12 files changed

Lines changed: 23 additions & 23 deletions

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ login account is required. Run them with:
2424

2525
## Read/Write Functional Tests.
2626

27-
Read/Write functional tests use partner-bugzilla.redhat.com, which is a
27+
Read/Write functional tests use bugzilla.stage.redhat.com, which is a
2828
bugzilla instance specifically for this type of testing. Data is occasionally
2929
hard synced with regular bugzilla.redhat.com, and all local edits are
3030
removed. Login accounts are also synced. If you want access to
31-
partner-bugzilla.redhat.com, sign up for a regular bugzilla.redhat.com login
31+
bugzilla.stage.redhat.com, sign up for a regular bugzilla.redhat.com login
3232
and wait for the next sync period.
3333

3434
Before running these tests, you'll need to cache login credentials.
3535
Example:
3636

37-
./bugzilla-cli --bugzilla=partner-bugzilla.redhat.com --username=$USER login
37+
./bugzilla-cli --bugzilla=bugzilla.stage.redhat.com --username=$USER login
3838
pytest --rw-functional
3939

4040
## Testing across python versions

examples/bug_autorefresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import bugzilla
1010

1111
# public test instance of bugzilla.redhat.com. It's okay to make changes
12-
URL = "partner-bugzilla.redhat.com"
12+
URL = "bugzilla.stage.redhat.com"
1313
bzapi = bugzilla.Bugzilla(URL)
1414

1515
# The Bugzilla.bug_autorefresh setting controls whether bugs will

examples/create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# public test instance of bugzilla.redhat.com.
1313
#
1414
# Don't worry, changing things here is fine, and won't send any email to
15-
# users or anything. It's what partner-bugzilla.redhat.com is for!
16-
URL = "partner-bugzilla.redhat.com"
15+
# users or anything. It's what bugzilla.stage.redhat.com is for!
16+
URL = "bugzilla.stage.redhat.com"
1717
bzapi = bugzilla.Bugzilla(URL)
1818
if not bzapi.logged_in:
1919
print("This example requires cached login credentials for %s" % URL)

examples/getbug.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
import bugzilla
1212

1313
# public test instance of bugzilla.redhat.com. It's okay to make changes
14-
URL = "partner-bugzilla.redhat.com"
14+
URL = "bugzilla.stage.redhat.com"
1515

1616
bzapi = bugzilla.Bugzilla(URL)
1717

1818
# getbug() is just a simple wrapper around getbugs(), which takes a list
1919
# IDs, if you need to fetch multiple
2020
#
21-
# Example bug: https://partner-bugzilla.redhat.com/show_bug.cgi?id=427301
21+
# Example bug: https://bugzilla.stage.redhat.com/show_bug.cgi?id=427301
2222
bug = bzapi.getbug(427301)
2323
print("Fetched bug #%s:" % bug.id)
2424
print(" Product = %s" % bug.product)

examples/getbug_restapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import bugzilla
1111

1212
# public test instance of bugzilla.redhat.com. It's okay to make changes
13-
URL = "partner-bugzilla.redhat.com"
13+
URL = "bugzilla.stage.redhat.com"
1414

1515
# By default, if plain Bugzilla(URL) is invoked, the Bugzilla class will
1616
# attempt to determine if XMLRPC or REST API is available, with a preference

examples/query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import bugzilla
1111

1212
# public test instance of bugzilla.redhat.com. It's okay to make changes
13-
URL = "partner-bugzilla.redhat.com"
13+
URL = "bugzilla.stage.redhat.com"
1414

1515
bzapi = bugzilla.Bugzilla(URL)
1616

@@ -55,7 +55,7 @@
5555

5656
# bugzilla.redhat.com, and bugzilla >= 5.0 support queries using the same
5757
# format as is used for 'advanced' search URLs via the Web UI. For example,
58-
# I go to partner-bugzilla.redhat.com -> Search -> Advanced Search, select
58+
# I go to bugzilla.stage.redhat.com -> Search -> Advanced Search, select
5959
# Classification=Fedora
6060
# Product=Fedora
6161
# Component=python-bugzilla
@@ -65,7 +65,7 @@
6565
#
6666
# Run that, copy the URL and bring it here, pass it to url_to_query to
6767
# convert it to a dict(), and query as usual
68-
query = bzapi.url_to_query("https://partner-bugzilla.redhat.com/"
68+
query = bzapi.url_to_query("https://bugzilla.stage.redhat.com/"
6969
"buglist.cgi?classification=Fedora&component=python-bugzilla&"
7070
"f1=creation_ts&o1=lessthaneq&order=Importance&product=Fedora&"
7171
"query_format=advanced&v1=2010-01-01")

examples/update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import bugzilla
1111

1212
# public test instance of bugzilla.redhat.com. It's okay to make changes
13-
URL = "partner-bugzilla.redhat.com"
13+
URL = "bugzilla.stage.redhat.com"
1414
bzapi = bugzilla.Bugzilla(URL)
1515
if not bzapi.logged_in:
1616
print("This example requires cached login credentials for %s" % URL)
@@ -23,9 +23,9 @@
2323
# The param names map to those accepted by Bugzilla Bug.update:
2424
# https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#update-bug
2525
#
26-
# Example bug: https://partner-bugzilla.redhat.com/show_bug.cgi?id=427301
26+
# Example bug: https://bugzilla.stage.redhat.com/show_bug.cgi?id=427301
2727
# Don't worry, changing things here is fine, and won't send any email to
28-
# users or anything. It's what partner-bugzilla.redhat.com is for!
28+
# users or anything. It's what bugzilla.stage.redhat.com is for!
2929
bug = bzapi.getbug(427301)
3030
print("Bug id=%s original summary=%s" % (bug.id, bug.summary))
3131

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def pytest_addoption(parser):
2323
parser.addoption("--rw-functional", action="store_true", default=False,
2424
help=("Run read/write functional tests against actual bugzilla "
2525
"instances. As of now this only runs against "
26-
"partner-bugzilla.redhat.com, which requires an RH "
26+
"bugzilla.stage.redhat.com, which requires an RH "
2727
"bugzilla account with cached login creds. This will "
2828
"also be very slow."))
2929
parser.addoption("--redhat-url",

tests/data/authfiles/output-cookies.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# http://curl.haxx.se/rfc/cookie_spec.html
33
# This is a generated file! Do not edit.
44

5-
.partner-bugzilla.redhat.com TRUE / FALSE 2145916800 Bugzilla_login notacookie
6-
.partner-bugzilla.redhat.com TRUE / FALSE 2145916800 Bugzilla_logincookie notacookie
5+
.bugzilla.stage.redhat.com TRUE / FALSE 2145916800 Bugzilla_login notacookie
6+
.bugzilla.stage.redhat.com TRUE / FALSE 2145916800 Bugzilla_logincookie notacookie

tests/data/cookies-lwp.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#LWP-Cookies-2.0
2-
Set-Cookie3: Bugzilla_login=notacookie; path="/"; domain=".partner-bugzilla.redhat.com"; domain_dot; expires="2038-01-01 00:00:00Z"; version=0
3-
Set-Cookie3: Bugzilla_logincookie=notacookie; path="/"; domain=".partner-bugzilla.redhat.com"; domain_dot; expires="2038-01-01 00:00:00Z"; version=0
2+
Set-Cookie3: Bugzilla_login=notacookie; path="/"; domain=".bugzilla.stage.redhat.com"; domain_dot; expires="2038-01-01 00:00:00Z"; version=0
3+
Set-Cookie3: Bugzilla_logincookie=notacookie; path="/"; domain=".bugzilla.stage.redhat.com"; domain_dot; expires="2038-01-01 00:00:00Z"; version=0

0 commit comments

Comments
 (0)