Re: Nightly builds of DNF available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another solution is to incorporate the jenkins variable BUILD_NR in
the release - although not entirely kosher it handles multiple builds
on same date.

--alec

On 2/3/14, Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote:
> 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_packages
>
> 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  ~]$
>
> --
> Thanks,
> Warm regards,
> Ankur (FranciscoD)
>
> http://fedoraproject.org/wiki/User:Ankursinha
>
> Join Fedora! Come talk to us!
> http://fedoraproject.org/wiki/Fedora_Join_SIG
>
>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux