Bug 1172715 - osc up incomplete
Summary: osc up incomplete
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marco Strigl
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 10:10 UTC by Axel Braun
Modified: 2020-07-07 13:27 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2020-06-09 10:10:24 UTC
when running osc up on an already checked-out package the result is incomplete:

docb@X1E:~/buildservice/Application:ERP:GNUHealth:Factory/trytond> osc up
At revision 89b1e20e3a692c82a8f4db407e683dc8.
docb@X1E:~/buildservice/Application:ERP:GNUHealth:Factory/trytond> dir
insgesamt 56
-rw-r--r-- 1 docb users  1355  4. Mär 13:50 fix_werkzeug.patch
-rw-r--r-- 1 docb users   226 10. Mär 10:45 revert_werkzeug_setup.patch
-rw-r--r-- 1 docb users 10528  4. Jun 11:59 trytond.changes
-rw-r--r-- 1 docb users  3795  4. Okt 2016  trytond.conf
-rw-r--r-- 1 docb users  3801  4. Okt 2016  trytond.conf.example
-rw-r--r-- 1 docb users   585 11. Jun 2018  trytond_log.conf
-rw-r--r-- 1 docb users   470 26. Mai 2015  trytond.service
-rw-r--r-- 1 docb users  4262  4. Jun 11:59 trytond.spec
-rw-r--r-- 1 docb users  8809 15. Dez 12:38 tryton-server.README.SUSE

-> the source tarball is missing!
Same I noticed with other projects, e.g. Application:ERP:GNUHealth:3.6/gnuhealth which links to Application:ERP:GNUHealth:Factory/gnuhealth, and, after an update, still contains the old tarball locally

> rpm -qa | grep osc
osc-0.169.1-1.1.noarch
Comment 1 Axel Braun 2020-06-09 16:26:51 UTC
Another example:
Application:ERP:GNUHealth:3.6/gnuhealth links to 
Application:ERP:GNUHealth:Factory/gnuhealth

docb@T520:~/buildservice/Application:ERP:GNUHealth:3.6/gnuhealth> osc up
At revision 7.

docb@T520:~/buildservice/Application:ERP:GNUHealth:3.6/gnuhealth> dir
insgesamt 10352
-rwxr-xr-x  1 docb users     1412 27. Aug 2018  gnuhealth
drwxr-xr-x 52 docb users     4096 28. Feb 10:32 gnuhealth-3.6.3
-rw-r--r--  1 docb users 10492401 28. Feb 18:16 gnuhealth-3.6.3.tar.gz
-rw-r--r--  1 docb users    11674 14. Mär 16:25 gnuhealth.changes
-rw-r--r--  1 docb users    14702 13. Mär 11:36 gnuhealth-control
-rw-r--r--  1 docb users     9182 22. Nov 2019  GNUHealth.README.SUSE
-rw-r--r--  1 docb users      622 12. Dez 2018  gnuhealth.service
-rw-r--r--  1 docb users     6153  2. Mär 21:06 gnuhealth.spec
-rw-r--r--  1 docb users      484 29. Dez 2018  gnuhealth-webdav@.service
-rw-r--r--  1 docb users      141 14. Mär 16:26 _link
-rw-r--r--  1 docb users     8680 23. Nov 2018  openSUSE-gnuhealth-setup
-rw-r--r--  1 docb users       77 24. Nov 2019  _service
-rw-r--r--  1 docb users    19412 29. Feb 15:46 shebang.diff

*BUT* if you look at 
Application:ERP:GNUHealth:3.6/gnuhealth on OBS it contains vresion 3.6.4!
Comment 2 Marcus Hüwe 2020-06-09 18:01:44 UTC
(In reply to Axel Braun from comment #0)
> when running osc up on an already checked-out package the result is
> incomplete:
> 
> docb@X1E:~/buildservice/Application:ERP:GNUHealth:Factory/trytond> osc up
> At revision 89b1e20e3a692c82a8f4db407e683dc8.
> docb@X1E:~/buildservice/Application:ERP:GNUHealth:Factory/trytond> dir
> insgesamt 56
> -rw-r--r-- 1 docb users  1355  4. Mär 13:50 fix_werkzeug.patch
> -rw-r--r-- 1 docb users   226 10. Mär 10:45 revert_werkzeug_setup.patch
> -rw-r--r-- 1 docb users 10528  4. Jun 11:59 trytond.changes
> -rw-r--r-- 1 docb users  3795  4. Okt 2016  trytond.conf
> -rw-r--r-- 1 docb users  3801  4. Okt 2016  trytond.conf.example
> -rw-r--r-- 1 docb users   585 11. Jun 2018  trytond_log.conf
> -rw-r--r-- 1 docb users   470 26. Mai 2015  trytond.service
> -rw-r--r-- 1 docb users  4262  4. Jun 11:59 trytond.spec
> -rw-r--r-- 1 docb users  8809 15. Dez 12:38 tryton-server.README.SUSE
> 
> -> the source tarball is missing!

According to [1], tarball is locally marked for deletion. Just revert
the delete.

[1] https://lists.opensuse.org/opensuse-packaging/2020-06/msg00028.html
Comment 3 Marcus Hüwe 2020-06-09 18:03:45 UTC
(In reply to Axel Braun from comment #1)
> Another example:
> Application:ERP:GNUHealth:3.6/gnuhealth links to 
> Application:ERP:GNUHealth:Factory/gnuhealth
> 
> docb@T520:~/buildservice/Application:ERP:GNUHealth:3.6/gnuhealth> osc up
> At revision 7.
> 
> docb@T520:~/buildservice/Application:ERP:GNUHealth:3.6/gnuhealth> dir
> insgesamt 10352

<SNIP>

> -rw-r--r--  1 docb users      141 14. Mär 16:26 _link

You checked out/updated to the unexpanded sources.

> -rw-r--r--  1 docb users     8680 23. Nov 2018  openSUSE-gnuhealth-setup
> -rw-r--r--  1 docb users       77 24. Nov 2019  _service
> -rw-r--r--  1 docb users    19412 29. Feb 15:46 shebang.diff
> 
> *BUT* if you look at 
> Application:ERP:GNUHealth:3.6/gnuhealth on OBS it contains vresion 3.6.4!

Just update to the expanded sources: osc up -e.