[elbe-devel] Management of mirror, duplication of code?

Köry Maincent kory.maincent at bootlin.com
Tue Sep 8 10:08:44 CEST 2020


Hello,

I have noticed these two functions are pretty much the same:
 create_apt_sources_list
 get_apt_mirrors_and_keys

The second one should be corrected to manage the mirror like the first
one. I would made a fix however I am wondering if it may be better to
not duplicate the code?

Is there a reason to have two functions separated here?

Regards,

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the elbe-devel mailing list