On Fri, Dec 09, 2022 at 04:12:18PM +0800, Ming Lei wrote: > Hello Richard and Guys, > > I am trying to figure out one PR for ubdsrv to sync with upstream. > > I found the following change in history update: > > commit 2ab1e571717a13edddc572269608e918e449a3b8 (origin/main) > Author: Richard W.M. Jones <rjones@xxxxxxxxxx> > Date: Thu Nov 3 11:33:42 2022 +0000 > > Move to a newer tag (1.0-rc3 + a couple of upstream patches) > > diff --git a/sources b/sources > index 47e83d8..1735716 100644 > --- a/sources > +++ b/sources > @@ -1 +1 @@ > -SHA512 (ubdsrv-698c92c9d292903adae142a86d2fee10fce91850.tar.gz) = a12e218b6d97631b9726cdaa2e14dfb7f4df422dd77265701f40ba8704c7d4ccac6c632f635115863f8694bd626f06f67e2ebdf93ae92778a0dae3cddb0259c6 > +SHA512 (ubdsrv-ca8baff898868f2ee6f5cdda9c16cf8d94435262.tar.gz) = 9d85271cc73026e7ff8a58153cffb4fd9f760c136d790e0b681cd6b903813cd9d9b98bba934c7ef1248ee0514fe7a6967d3ee65afd6cc44ea0bd3a0796c62ff3 > diff --git a/ubdsrv.spec b/ubdsrv.spec These are generated by me running "fedpkg sources". I don't believe it's possible for non-packagers to use this (since it actually uploads the file to Fedora servers), but in any case it doesn't matter, just make a note of the new commit has you want to use when creating the PR. > 'fedpkg build' needs ubdsrv-698c92c9d292903adae142a86d2fee10fce91850.tar.gz to be > put somethere, and I guess when I sync with upstream for ubdsrv new change, > I need to generate ubdsrv-${GIT_HASH}.tar.gz & its sha512sum, and put it > somewhere so that 'fedpkg' can find it and test it first. > > Can anyone help to share how/where to upload ubdsrv-${GIT_HASH}.tar.gz? > > Also I don't know how to figure out the sha512sum hash? I tried to do that for > ubdsrv-698c92c9d292903adae142a86d2fee10fce91850.tar.gz by plain sha512sum, but > get different result compared with the value in above commit even though the > comment of .tar.gz is same(same prefix, same 'diff -u'). It'll be different each time because of how github generates tarballs on the fly. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue