Bug 32667 - univention-lib needs python module for url requests
univention-lib needs python module for url requests
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-23 17:02 CEST by Dirk Wiesenthal
Modified: 2017-08-08 07:11 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2013-09-23 17:02:54 CEST
umc-module-appcenter
umc-module-udm
umc-module-sysinfo

all send data to external sources. This involves usage of a lot of urllib and urllib2 functions. Furthermore it is important to respect ucr.get('proxy/http') which is not done automatically by urllib and easy to be forgotten.

It would be nice to add a (thin) urllib wrapper to take care of all that and use it in those three modules (and other places yet to come).

It should be easy to add data to a request and also to add an attachment.
Comment 1 Dirk Wiesenthal univentionstaff 2013-09-23 17:11:52 CEST
Currently univention-system-info overwrites some urllib2 functions. Whole methods were copied, taken from python 2.5 or earlier. This makes it impossible to use timeout as parameter (new in python 2.6). This starts to get annoying. See Bug#31056 Comment 18
Comment 2 Florian Best univentionstaff 2017-02-09 18:27:33 CET
Still relevant?
Comment 3 Stefan Gohmann univentionstaff 2017-06-16 20:38:17 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 4 Stefan Gohmann univentionstaff 2017-08-08 07:11:26 CEST
This issue has been filed against UCS 3.2.

UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.