-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dne 3.2.2014 11:17, Ankur Sinha napsal(a):
Hi Radek,
On Mon, 2014-02-03 at 04:24 -0500, Radek Holy wrote:
>
> it's wierd, I'm not able to reproduce it here. The command ``dnf
> --disablerepo=* --enablerepo=dnf-nightlies list`` outputs::
Looks like it was a result of the versioning scheme that you're using.
I had dnf-0.4.12-1.git3584018.fc20.noarch installed and the latest build
as of today is dnf-0.4.12-1.git01649a8.fc20.noarch.rpm. Since
0.4.12-1.git3584018 > 0.4.12-1.git01649a8, neither yum, nor dnf saw the
newest package as an update. I'm not sure why neither of them listed the
package, though. Can you please use a correct version scheme as required
by the package guidelines, or bump the release to 1 1.1 1.2 etc? Git
commit hashes are not incremental and therefore the upgrade path will
not always be correct if packages continue with this version scheme.
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_pac...
This is better link:
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages
There should be always included the snapshot date.
Vít
The current versions are:
Build #453: dnf-0.4.12-1.git7613c16.fc20.noarch.rpm
Build #454: dnf-0.4.12-1.git8c69fa2.fc20.noarch.rpm
Build #455: dnf-0.4.12-1.git01649a8.fc20.noarch.rpm
As you see, they're not incremental and as a result, folks won't receive
updates if the installed version is > the latest build version.
Rather funnily, *downgrading* the package gave me the *latest* build
here:
> [asinha@ankur-laptop ~]$ sudo dnf downgrade dnf
> [sudo] password for asinha:
> Resolving dependencies
> --> Starting dependency resolution
> ---> Package dnf.noarch 0.4.12-1.git3584018.fc20 will be downgraded
> ---> Package dnf.noarch 0.4.12-1.git01649a8.fc20 will be a downgrade
> --> Finished dependency resolution
> Depsolve time: 0.072
> Dependencies resolved.
>
>
========================================================================================================================================================================
> Package Arch
Version
Repository Size
>
========================================================================================================================================================================
> Downgrading:
> dnf noarch
0.4.12-1.git01649a8.fc20
dnf-nightlies 433 k
>
>> Transaction Summary
>
========================================================================================================================================================================
>> Downgrade 1 Package
>
>> Total download size: 433 k
>> Is this ok [y/N]: y
>> Downloading Packages:
>
dnf-0.4.12-1.git01649a8.fc20.noarch.rpm
160 kB/s | 433 kB 00:02
> populate_rpm_ts: downgrade:
dnf-0.4.12-1.git01649a8.fc20.noarch/dnf-0.4.12-1.git3584018.fc20.noarch
> Running transaction check
> Transaction check succeeded.
> Transaction check time: 0.110
> Running transaction test
> Transaction test succeeded.
> Transaction test time: 1.066
> Running transaction
> runTransaction: rpm transaction start.
> Downgrading :
dnf-0.4.12-1.git01649a8.fc20.noarch
1/2
> Erasing :
dnf-0.4.12-1.git3584018.fc20.noarch
2/2
> runTransaction: rpm transaction over.
> Verifying :
dnf-0.4.12-1.git01649a8.fc20.noarch
1/2
> Verifying :
dnf-0.4.12-1.git3584018.fc20.noarch
2/2
>> VerifyTransaction time: 0.837
>> Transaction time: 3.651
>
>> Downgraded:
>> dnf.noarch 0.4.12-1.git01649a8.fc20
>
>> Completion plugin: Generating completion cache...
>> Complete!
>> [asinha@ankur-laptop ~]$
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBAgAGBQJS73nVAAoJEAzgnueZF7h8YXUQAJhCc2SVx3Mq7XcAcyTCNueC
ztWXw28YmI5W4d1slgcj3qzg2BW/wwMr8iitd066Uvqgfn25U0aN2XagIoUJM0yq
aCHFpfPEME5Cs1/CSgma1RHMBbbkPYd5tpbIcuG6VVISllnZkFoyPSK+kB+0mtsG
oVTideMEFgoRA1G6Z1b5PK2AZH27hqU+vdyUeFLZjykTIe5U7BRway1ctPnCRtQm
Iot8jgHGT6TVyXrMldHONTZVDfxJ0xDfByXkBsRrtGuzDLks0q6LycLh7Ra/SFkV
nRD3Ks6I5PePUIe9d9UkA2UUwIOI8qmt2Ppa781D1Z8hVlt0YfYFGAXJQy6tmTOk
2MVRluT0X7kLDcuq8lJbvvKNBK3vUWCMU8y67gy3SMGRbyLXgyOsuf0gwOtMou7H
C1cR8PpJScKWoBdAZecQ53GlHmcXmWSqQojlMuIIhSrCl7gugNC53VPKQ9z6g+Wc
+B8ZjueYE6zVxNW4GARYab78zm2fOWQ9PkLQPgwG47cqO3UEgxyCzJsDPJCXWcB2
DisD/NQhNbjtofigegudnaZhwt7eaAY+txrwUoUn1XCTaUDFT6i+SFykZ36qLDqC
typtfObh65a49NzLvCpzEWJue+ZH06Tkb+/AEyJslboMkJjfCdOtP7UvqM+UlFwI
nMVgMRTqlJA0AigJjq2/
=w3NI
-----END PGP SIGNATURE-----