*pkg import --offline didn't update 'source' and '.gitignore' files. Modified incorrect output about uploaded sources. Offline mode now does everything but uploading sources into lookaside cache.
*pkg import --offline
JIRA: COMPOSE-3558 Fixes: #445 Resolves: rhbz#1175262
Signed-off-by: Ondrej Nosek onosek@redhat.com
An enhanced version of https://pagure.io/rpkg/pull-request/448 (it would be closed probably). It modifies also upload method to show proper information.
upload
Typo here: uloading → uploading.
I like this patch more than #448. My only concern is about the recommended git command to revert the change: if user has for example some changes in spec file, wouldn't reset --hard drop those uncommitted changes too? Would ti maybe be safer to recommend git reset HEAD sources && git checkout -- sources? (Changed .gitignore is not a big deal to me.)
reset --hard
git reset HEAD sources && git checkout -- sources
.gitignore
rebased onto 810b2f7efda65ba369f1bb865f25d351915db1ab
Typo fixed, I have updated the message with a warning.
:thumbsup:
Pull-Request has been merged by onosek
*pkg import --offlinedidn't update 'source' and '.gitignore' files.Modified incorrect output about uploaded sources. Offline mode now does
everything but uploading sources into lookaside cache.
JIRA: COMPOSE-3558
Fixes: #445
Resolves: rhbz#1175262
Signed-off-by: Ondrej Nosek onosek@redhat.com