Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-14 Thread Jan Kolarik
Yep, this is a topic for potential improvement. Currently, there's a simple
file path detection, like "arg[0] == '/' || (arg[0] == '*' && arg[1] ==
'/')", and filelists are always additionally downloaded in such cases. The
situation aligns with dnf5 at the moment, and there's already a tracking
issue for this: https://bugzilla.redhat.com/show_bug.cgi?id=2263771.

Jan

On Wed, Feb 14, 2024 at 12:09 PM Vít Ondruch  wrote:

> /usr/bin/BINARYNAME is part of the primary metadata AFAIK
>
>
> Vít
>
>
> Dne 14. 02. 24 v 10:49 Jan Kolarik napsal(a):
>
> Hi Marcin,
>
> > So no more "dnf install /usr/bin/BINARYNAME" in default setup?
>
> In the case where a file path argument is provided to dnf, it will
> automatically attempt to download the missing filelists metadata. Sorry, I
> forgot to explicitly mention this use case.
>
> Jan
>
> On Wed, Feb 14, 2024 at 10:42 AM Marcin Juszkiewicz <
> mjuszkiew...@redhat.com> wrote:
>
>> W dniu 9.02.2024 o 14:02, Jan Kolarik pisze:
>> > Just a heads up that a new DNF version (4.19.0) is on its way to
>> Rawhide
>> > and is expected to land within the next several hours. This update
>> > brings a system-wide change
>> > 
>> related
>> > to not downloading filelists metadata by default.
>>
>> So no more "dnf install /usr/bin/BINARYNAME" in default setup?
>> --
>> ___
>> devel mailing list -- devel@lists.fedoraproject.org
>> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>> 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@lists.fedoraproject.org
>> Do not reply to spam, report it:
>> https://pagure.io/fedora-infrastructure/new_issue
>>
>
> --
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
>
> --
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-14 Thread Vít Ondruch

/usr/bin/BINARYNAME is part of the primary metadata AFAIK


Vít


Dne 14. 02. 24 v 10:49 Jan Kolarik napsal(a):

Hi Marcin,

> So no more "dnf install /usr/bin/BINARYNAME" in default setup?

In the case where a file path argument is provided to dnf, it will 
automatically attempt to download the missing filelists metadata. 
Sorry, I forgot to explicitly mention this use case.


Jan

On Wed, Feb 14, 2024 at 10:42 AM Marcin Juszkiewicz 
 wrote:


W dniu 9.02.2024 o 14:02, Jan Kolarik pisze:
> Just a heads up that a new DNF version (4.19.0) is on its way to
Rawhide
> and is expected to land within the next several hours. This update
> brings a system-wide change
> 
related
> to not downloading filelists metadata by default.

So no more "dnf install /usr/bin/BINARYNAME" in default setup?
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue


--
___
devel mailing list --devel@lists.fedoraproject.org
To unsubscribe send an email todevel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue


OpenPGP_signature.asc
Description: OpenPGP digital signature
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-14 Thread Jan Kolarik
Hi Marcin,

> So no more "dnf install /usr/bin/BINARYNAME" in default setup?

In the case where a file path argument is provided to dnf, it will
automatically attempt to download the missing filelists metadata. Sorry, I
forgot to explicitly mention this use case.

Jan

On Wed, Feb 14, 2024 at 10:42 AM Marcin Juszkiewicz 
wrote:

> W dniu 9.02.2024 o 14:02, Jan Kolarik pisze:
> > Just a heads up that a new DNF version (4.19.0) is on its way to Rawhide
> > and is expected to land within the next several hours. This update
> > brings a system-wide change
> > 
> related
> > to not downloading filelists metadata by default.
>
> So no more "dnf install /usr/bin/BINARYNAME" in default setup?
> --
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-14 Thread Marcin Juszkiewicz

W dniu 9.02.2024 o 14:02, Jan Kolarik pisze:
Just a heads up that a new DNF version (4.19.0) is on its way to Rawhide 
and is expected to land within the next several hours. This update 
brings a system-wide change 
 related 
to not downloading filelists metadata by default.


So no more "dnf install /usr/bin/BINARYNAME" in default setup?
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-09 Thread Miroslav Suchý

Dne 09. 02. 24 v 16:29 Florian Weimer napsal(a):

What's the impact on mock and older chroots?  Just use bootstrap chroot?


Yes, in rawhide if you build package for older chroot, you will have to use bootstrap chroot. It is enabled by default. 
You will have problems if you disabled it manually.


--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-09 Thread Jan Kolarik
Hi Florian,

What's the impact on mock and older chroots?  Just use bootstrap chroot?


I don't expect any issues with existing environments. If the filelists
metadata is already present on the system, DNF simply won't load them by
default now. Or are you referring to something else?

Regards,
Jan

On Fri, Feb 9, 2024 at 4:29 PM Florian Weimer  wrote:

> * Jan Kolarik:
>
> > From a Fedora user perspective, there won't be any changes in the way
> > you operate the DNF package manager. The only difference is that
> > typically there will be less metadata downloaded.  Since all packages
> > in Fedora should have already eliminated file dependencies requiring
> > filelists metadata, no issues with official repositories are
> > anticipated.
>
> What's the impact on mock and older chroots?  Just use bootstrap chroot?
>
> Thanks,
> Florian
>
>
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: dnf-4.19.0 without filelists in Rawhide soon

2024-02-09 Thread Florian Weimer
* Jan Kolarik:

> From a Fedora user perspective, there won't be any changes in the way
> you operate the DNF package manager. The only difference is that
> typically there will be less metadata downloaded.  Since all packages
> in Fedora should have already eliminated file dependencies requiring
> filelists metadata, no issues with official repositories are
> anticipated.

What's the impact on mock and older chroots?  Just use bootstrap chroot?

Thanks,
Florian
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue