#445 Command import --offline says content staged and new sources uploaded which seems incorrect
Closed: Fixed 3 years ago by onosek. Opened 3 years ago by pbabinca.

When I run:

$ rhpkg import --offline *.src.rpm

it shows me a diff of spec file. When I quit pager I see message:

New content staged and new sources uploaded.
Commit if happy or revert with: git reset --hard HEAD

But I thought it won't upload it?

Then when I list relevant contents:

$ ls -l psutil-5.4.3.tar.gz sources 
-rwxrwxrwx 1 pbabinca pbabinca 1914359 May 13 13:50 psutil-5.4.3.tar.gz
-rw-r--r-- 1 pbabinca pbabinca       0 May 13 13:50 sources

it seems that sources is empty so I'll have to run rhpkg upload or rhpkg new-sources anyway.

I'd like tool to provide message closer to what happened - that content haven't been uploaded. But if I'm happy with that I should run commands … (and list them - e.g. rhpkg upload psutil-5.4.3.tar.gz).

Metadata Update from @onosek:
- Issue set to the milestone: 1.58

3 years ago

Login to comment on this ticket.

Related Pull Requests
  • #449 Merged 3 years ago
  • #448 Closed 3 years ago