Re: GSoC: Sysinst enhancements proposal

Aleksej Saushev <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
Julian Fagir <[email protected]> writes:

>>   2. Patches that divide gpt(8) code into two parts: core functions
>> (backend) and /sbin/gpt (frontend). That's will be useful for code share;
>>   3. (probably, if time will allow) Patches to gpt(8), fdisk(8),
>> disklabel(8), sunlabel(8) and sysinst to share code into one library that
>> contains all needed partitioning functions;
> That'd be very nice imho. I just wonder if having a library for that is more
> difficult than just having the tool usage itself unified.

No, it is not more difficult if done at least minimally carefully.
In most cases main() should consist only of argument parsing and calling
approporiate functions. Thus it is should be indifferent whether you
write a library or a standalone program. (Making it a library even makes
unit testing simpler, to appease those who drank too much of testing kool aid.)

>>   * Implementing ability to install pkgsrc from sysinst;
> This was already implemented, though not committed. See the appropriate PR
> for that (this would fix binary package installation as well - or, somehow).

What does "install pkgsrc" mean here?
How do you propose to handle the difference in release cycles?


-- 
HE CE3OH...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.