Bug 190499 - pre-fill "Add Update" form by add.py URL options
Summary: pre-fill "Add Update" form by add.py URL options
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora Infrastructure
Classification: Retired
Component: update system
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Bill Nottingham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-02 22:17 UTC by Karel Zak
Modified: 2016-09-20 02:37 UTC (History)
3 users (show)

Fixed In Version: 1.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-21 18:57:09 UTC
Embargoed:


Attachments (Terms of Use)
more sexy add.py (2.41 KB, text/x-patch)
2006-05-02 22:17 UTC, Karel Zak
no flags Details

Description Karel Zak 2006-05-02 22:17:47 UTC
I'd like to call add.py from package Makefile (or arbitrary other script). The
Makefile in package CVS has basic information about the package (FC release,
NVR, ..) and something like:

https://porkchop.devel.redhat.com/fedora-updates/add.py?pkg=mypackage-0.1-1&rel=FC-5
                                                        ^^^^^^^^^^^^^^^^^^^^^^^

will save my time that I need to spend with basic "Add Update" form fields.
(Yes, I'm lazy:-)

Comment 1 Karel Zak 2006-05-02 22:17:48 UTC
Created attachment 128522 [details]
more sexy add.py

Comment 2 Karel Zak 2006-05-02 22:22:17 UTC
Note, maybe there should be "index(req, pkg=None, rel=None)" -- it means some
defaults. I didn't test it with real web server.

Comment 3 Luke Macken 2006-08-21 18:57:09 UTC
Patch applied (and pkg,rel defaults set to None).  I hope to have a much more
robust update creation mechanism in place for the new version of the update system.

Thanks!


Note You need to log in before you can comment on or make changes to this bug.