Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tarball with tar_scm service fetch from github ends up almost empty #399

Closed
frispete opened this issue Apr 5, 2018 · 4 comments
Closed

Comments

@frispete
Copy link

frispete commented Apr 5, 2018

Hi,

today, I tried to update my FreeRDP build as always in a checked out copy:

$ osc service disabledrun
Cloning into bare repository '/var/cache/obs/tar_scm/56b4eb933fa2e77b484bad0ce4fb93a994aa647426be674d3f66f69a6b033de0/FreeRDP'...
a9ecd6a6ccc71130805a6bf3214c169fc42746ba
Cloning into '/home/hp/src/obs/home:frispete:RemoteDesktop/freerdp2/FreeRDP'...
a9ecd6a6ccc71130805a6bf3214c169fc42746ba
Compressed freerdp-2.0.0~git.1522916443.a9ecd6a6c.tar to freerdp-2.0.0~git.1522916443.a9ecd6a6c.tar.xz

I already removed the cached repo from /var/cache/obs/tar_scm, just in case, but the resulting tarball is almost empty (second tar.xz file):

$ l
drwxrwxr-x  3 hp lisa      18  5. Apr 20:21 FreeRDP/
-rw-rw-r--  1 hp lisa 4335868 14. Feb 11:55 freerdp-2.0.0~git.1518601944.ed4f54ab4.tar.xz
-rw-rw-r--  1 hp lisa     200  5. Apr 20:21 freerdp-2.0.0~git.1522916443.a9ecd6a6c.tar.xz
-rw-r--r--  1 hp lisa   66170  5. Apr 20:21 freerdp.changes
-rw-rw-r--  1 hp lisa    3943  5. Apr 20:21 freerdp.spec
drwxrwxr-x  2 hp lisa    4096 14. Feb 11:58 .osc/
-rw-rw-r--  1 hp lisa     562 26. Jan 2017  _service
-rw-rw-r--  1 hp lisa     236  5. Apr 20:21 _servicedata
$ tar tvf freerdp-2.0.0~git.1522916443.a9ecd6a6c.tar.xz
drwxrwxr-x root/root         0 2018-04-05 10:20 freerdp-2.0.0~git.1522916443.a9ecd6a6c/

The checked out FreeRDP dir just contains the .git folder:

$ l FreeRDP/
insgesamt 0
drwxrwxr-x 3 hp lisa  18  5. Apr 20:46 ./
drwxrwxr-x 4 hp lisa 275  5. Apr 20:47 ../
drwxrwxr-x 8 hp lisa 180  5. Apr 20:46 .git/

My versions are:

$ git --version
git version 2.14.1
$ osc --version
0.162.1

Content of _service:

<services>
  <service name="tar_scm" mode="disabled">
    <param name="scm">git</param>
    <param name="url">https://github.com/FreeRDP/FreeRDP.git</param>
    <param name="filename">freerdp</param>
    <param name="versionprefix">2.0.0~git</param>
    <param name="changesgenerate">enable</param>
    <param name="revision">refs/heads/master</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="disabled"/>
</services>

Something more to know? Any idea,, what's going on here?
The branch names of the FreeRDP github project didn't change to my knowledge. A normal git clone succeeds as usual.

@marcus-h
Copy link
Member

marcus-h commented Apr 5, 2018 via email

@frispete
Copy link
Author

frispete commented Apr 5, 2018

Hm, interesting. I'm using obs-service-tar_scm-0.8.0.1520581079.e26b0ae-198.1.noarch here.
Of course, I removed the FreeRDP directory. In fact, it's part of my workflow, because tar_scm complains and fails, if it exists. Which git version do you use?

@marcus-h
Copy link
Member

marcus-h commented Apr 5, 2018 via email

@frispete
Copy link
Author

frispete commented Apr 6, 2018

Okay, slowly getting to the bottom of it now.

I relocated this issue to tar_scm where it belongs.

Thank you, Marcus, for your support.

@frispete frispete closed this as completed Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants