Bug 54266 - Support source directory for Apps
Support source directory for Apps
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-20 17:05 CET by Arvid Requate
Modified: 2021-12-21 10:42 CET (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2021-12-20 17:05:44 CET
primary# univention-app install ucsschool
primary# ucr set repository/online/sources=yes repository/online/unmaintained=yes; univention-install devscripts; apt-get build-dep ucs-school-umc-computerroom

fails, because the sources don't get included properly in /etc/apt/sources.list.d/20_ucs-online-component.list :


===================================================================
deb https://appcenter.software-univention.de/univention-repository/5.0/maintained/component/ ucsschool_20201208103021/all/
deb https://appcenter.software-univention.de/univention-repository/5.0/maintained/component/ ucsschool_20201208103021/amd64/
# Component ucsschool_20201208103021: Error downloading https://appcenter.software-univention.de/univention-repository/5.0/maintained/component/ucsschool_20201208103021/source/Sources.gz: 404
===================================================================

Manually adding 

deb-src https://appcenter.software-univention.de/univention-repository/5.0/unmaintained/component/ ucsschool_20201208103021/source/

didn't help.
Comment 1 Philipp Hahn univentionstaff 2021-12-21 08:19:29 CET
Updater cannot include what's not there:
$ ssh omar find /var/univention/buildsystem2/mirror/appcenter/univention-repository -iname source
Comment 2 Arvid Requate univentionstaff 2021-12-21 10:24:01 CET
Right, reassigning to Appcenter.
Comment 3 Dirk Wiesenthal univentionstaff 2021-12-21 10:42:46 CET
The Provider Portal does not know how to handle source directories.

I assume that such a change would require the Provider Portal to become a build system, as uploading packages alongside its (any) source would be error prone, to say the least.