[CentOS-devel] how do we create CentOS' comps.xml

Thu Jan 21 08:45:44 UTC 2021
aleksander.baranowski <aleksander.baranowski at yahoo.pl>

Hi,

When you have access to RHEL repo you can use repoquery to download
comps (and other metadata in EL8 version). Then you have to debrand them.

There are at least two things that you have to debrand.

1) Descriptions. There is a lot of Red Hat Enterprise Linux and other.
Note that some descriptions (Chineese if I recall corectelly), have Red
Hat written in respective language, so it's not as trivial as `sed s/Red
Hat/My Distro/g`.
2) You have to change/replace some packages like redhat-logos. You also
have to remove some packages (mostly connected with RHEL registration).

Bests,
Alex

On 1/21/21 2:34 AM, Brian Stinson wrote:
> On Wed, Jan 20, 2021, at 17:13, Ken Dreyer wrote:
>> Hi folks,
>>
>> When I look at a commit like this:
>> https://git.centos.org/centos/comps/c/5251f94b374cd9cf527f85a0a82245c0a8381063
>>
>> it's adding over 10,000 lines of configuration. I'm wondering how that
>> relates to RHEL's comps. Do the CentOS developers have a tool that
>> generated that XML from a data source elsewhere? Did someone write
>> that XML by hand?
>>
>> - Ken
>>
>> _______________________________________________
>> CentOS-devel mailing list
>> CentOS-devel at centos.org
>> https://lists.centos.org/mailman/listinfo/centos-devel
>>
> 
> These commits are generated from debranding and then processing (for language translations and such) the RHEL comps. 
> 
> --Brian
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>