[Fedora QA] #381: Bug and Update syncs shouldn't be halted by an isolated problem with one update or bug
by fedora-badges
#381: Bug and Update syncs shouldn't be halted by an isolated problem with one
update or bug
--------------------------------------+----------------------------------
Reporter: tflink | Owner: tflink
Type: enhancement | Status: new
Priority: major | Milestone: Undetermined Future
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+----------------------------------
= problem =
The current bug and update sync algorithms are very fragile in that one
error will stop the entire sync algorithm, leaving stuff out of sync with
bodhi or bugzilla. This has caused problems in the past
= analysis =
This could be solved by better error handling in the sync process such
that an error is logged but doesn't bubble up to the main sync code and
halt the entire process.
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/381>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
9 years, 8 months
[Fedora QA] #384: Improve documentation
by fedora-badges
#384: Improve documentation
--------------------------------------+------------------------
Reporter: tflink | Owner: tflink
Type: enhancement | Status: new
Priority: major | Milestone: Fedora 20
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+------------------------
= problem =
At the moment, our documentation is out of date and somewhat incomplete.
= analysis =
Update the docs and find an appropriate place for them to live.
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/384>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
9 years, 8 months
[Fedora QA] #387: Updates pending stable show as stable
by fedora-badges
#387: Updates pending stable show as stable
--------------------------------------+---------------------
Reporter: kparal | Owner: tflink
Type: defect | Status: new
Priority: minor | Milestone:
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+---------------------
A package that is in updates-testing and is pending stable is shown as
[stable] in the app. That can cause some confusion (i.e. one of us can
close a related bug by assuming the package is already stable, and the
package push can be cancelled afterwards).
I think the app should display the repository the package is currently in,
not the repository the package in pending to. What do you think?
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/387>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
9 years, 10 months
[Fedora QA] #386: Update URLs should comtain the update ID when possible
by fedora-badges
#386: Update URLs should comtain the update ID when possible
--------------------------------------+----------------------------------
Reporter: tflink | Owner: tflink
Type: enhancement | Status: new
Priority: minor | Milestone: Undetermined Future
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+----------------------------------
= problem =
The update URLs fetched from bodhi are most reliable when they are based
off of the update ID which is generated when the update is pushed to
testing. However, the blocker tracking app generally grabs the URL before
this happens and thus, end up with the preliminary url based on update
contents.
= analysis =
The update sync process should look to replace any update URLs which are
not based on the update ID when the sync runs against bodhi.
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/386>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
10 years
[Fedora QA] #390: modifying milestone through admin web interface generates http 500 errors
by fedora-badges
#390: modifying milestone through admin web interface generates http 500 errors
--------------------------------------+------------------------
Reporter: tflink | Owner: tflink
Type: defect | Status: new
Priority: critical | Milestone: Fedora 20
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+------------------------
= bug description =
When changing a milestone through the web admin interface, saving changes
generates a http 500 error with the following traceback:
{{{
Traceback (most recent call last):
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1701, in __call__
return self.wsgi_app(environ, start_response)
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1689, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/flask/app.py", line 1344, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/tflink/code/blockerbugs/blockerbugs/controllers/users.py",
line 95, in decorated_function
return f(*args, **kwargs)
File "/home/tflink/code/blockerbugs/blockerbugs/controllers/admin.py",
line 148, in modify_milestone
milestone.succeeds = selected_succeeds
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/sqlalchemy/orm/attributes.py", line 155, in __set__
instance_dict(instance), value, None)
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/sqlalchemy/orm/dynamic.py", line 117, in set
self._set_iterable(state, dict_, value)
File "/home/tflink/code/blockerbugs/env_blockerbugs/lib/python2.7/site-
packages/sqlalchemy/orm/dynamic.py", line 122, in _set_iterable
new_values = list(iterable)
TypeError: 'Milestone' object is not iterable
}}}
= fix recommendation =
Saving the milestone shouldn't tb and the save operation should complete
successfully
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/390>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
10 years
Review Request 36: improve update syncs
by Martin Krizek
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-tflink.rhcloud.com/r/36/
-----------------------------------------------------------
Review request for blockerbugs.
Repository: blockerbugs
Description
-------
Add partial updates sync.
Display proposed/accepted fe/blocker bugs list associated with update on update list web page.
Diffs
-----
testing/testfunc_update_sync.py 69f6bf8a459c71a9325cd633e7e33ce29354d7cd
testing/test_updatesync_extract_information.py 1fc701ef79a74e27cf8223b56a04d63025b6509f
testing/test_controllers.py f351832ad4350fcff3d67c0137ff62892639e908
blockerbugs/util/update_sync.py d664839ec1c5979dce980e7baad58154f4622e11
blockerbugs/util/bug_sync.py 49cce49740cd6f5b1f430f58c8d1b522e1f0b7e3
blockerbugs/templates/update_list.html a83dd9a422e51ea58e04ae58acd8fefe6eb1f79f
blockerbugs/models/update.py 2ee3ca7ee62bd55bbd71555c13fecfab504c4f07
blockerbugs/controllers/main.py 4f23e35558ac3f8ed2ccc5d897b2219e449e7277
blockerbugs/cli.py 694736d098b6285c53db91f91350360d478c4229
Diff: http://reviewboard-tflink.rhcloud.com/r/36/diff/
Testing
-------
Wrote test suites.
I've tested on my develop instance.
Thanks,
Ilgiz Islamgulov
10 years, 1 month
Review Request 40: basic RESTful API
by Martin Krizek
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-tflink.rhcloud.com/r/40/
-----------------------------------------------------------
Review request for blockerbugs.
Bugs: 392
https://fedorahosted.org/fedora-qa/ticket/392
Repository: blockerbugs
Description
-------
Add endpoints:
- list bugs
- list updates
- list spins
- create spin
Diffs
-----
testing/test_validators.py PRE-CREATION
testing/test_api.py PRE-CREATION
blockerbugs/models/spin.py 99891448e78c7168d540b479ffd7ef00ce1eec1d
blockerbugs/controllers/api/validators.py PRE-CREATION
blockerbugs/controllers/api/iso8601.py PRE-CREATION
blockerbugs/controllers/api/errors.py PRE-CREATION
blockerbugs/controllers/api/api.py PRE-CREATION
blockerbugs/controllers/api/__init__.py PRE-CREATION
blockerbugs/__init__.py c0f298462670e2ca00ba63fd8e722d2babbe5760
Diff: http://reviewboard-tflink.rhcloud.com/r/40/diff/
Testing
-------
Wrote test suites.
I've tested on my develop instance.
Thanks,
Ilgiz Islamgulov
10 years, 1 month
[Fedora QA] #392: ReSTful API
by fedora-badges
#392: ReSTful API
--------------------------------------+-------------------------
Reporter: islamgulov | Owner: islamgulov
Type: enhancement | Status: new
Priority: major | Milestone: Fedora 20
Component: Blocker bug tracker page | Version:
Keywords: | Blocked By:
Blocking: |
--------------------------------------+-------------------------
= problem =
At the moment, Blocker bug tracker app has not API.
= analysis =
API is defined as RESTful HTTP service.
API support JSON data serialization request and response formats.
`application/json` in the Content-Type header required in the request.
Time is specified as an ISO 8601 dateTime (2011-01-24T17:08Z).
List operations return all items at a time (no paging).
Endpoints:
1) Lists bugs associated with a milestone.
GET /api/v<api version>/miletstone/<rel_num>/<version>/bug?type=type&
To filter the list of bugs, you can specify the following optional URI
parameters:
- type=type& - Filters the list of bugs by type.
List bugs response fields:
- bzid: Bugzilla bug id
- url
- summary
- status
- component
- active
- type
Possible values for the bug type attribute include: 'proposed_blocker',
'proposed_fe', 'accepted_blocker', 'accepted_fe', 'rejected_blocker',
'rejected_fe'.
2) Lists updates associated with a milestone.
GET /api/v<api
version>/miletstone/<rel_num>/<version>/update?bugtype=bugtype&
Parameters:
- bugtype=bugtype& - Filters the list of update by type of bugs.
List updates response fields:
- title
- url
- karma
- stable_karma
- status
- pending
- bugs:
- bzid
- type
- release
- milestones:
- version
3) Lists spins associated with a milestone.
GET /api/v<api version>/miletstone/<rel_num>/<version>/spin/
List spins response fields:
- id
- name
- state
- url
- date_requested
- date_created
- spin_type
- updates:
- title
- status
- url
- succeeds:
- id
- milestone
--
Ticket URL: <https://fedorahosted.org/fedora-qa/ticket/392>
Fedora QA <http://fedorahosted.org/fedora-qa>
Fedora Quality Assurance
10 years, 1 month
Review Request 38: Add developer login
by Martin Krizek
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-tflink.rhcloud.com/r/38/
-----------------------------------------------------------
Review request for blockerbugs.
Repository: blockerbugs
Description
-------
commit e08c8ee1085bb0beb71b4a5c98c9d2e2497773cb
Author: Martin Krizek <mkrizek(a)redhat.com>
Date: Mon Jul 15 11:28:09 2013 +0200
Use fake login only in DEV environment
commit 8f175a28ae43b764e52435d174d73e2dc384bd6b
Author: Martin Krizek <mkrizek(a)redhat.com>
Date: Thu Jul 4 11:14:40 2013 +0200
Add developer login
This patch allows a fake login when DEV or TEST is set so we don't
access FAS server each time we log in.
TODO this will be merged with changes made in other review request dealing with fas-openid migrations.
Diffs
-----
blockerbugs/util/login.py PRE-CREATION
blockerbugs/templates/layout.html 8dc6deacd5e7a71757ed2564fb224b3cd92bfad5
blockerbugs/controllers/users.py 6f89a0b29143a9c09fcf25d97d875a01b9955fa4
blockerbugs/controllers/main.py a8082121576015a86c31bc76ebc17e982062a08b
blockerbugs/__init__.py 798fc6ecd562d1e13fbba26f804f74e6da670120
Diff: http://reviewboard-tflink.rhcloud.com/r/38/diff/
Testing
-------
Thanks,
Martin Krizek
10 years, 1 month