Hello Paul,

There is no rule for it and we are currently "mis-using" CVS all over 
the place :-) 
But I think putting init.d, default and action files directly in CVS 
instead of a patch is much better, we do that for most packages. Take 
a look at the different setups in CVS, you can use names like 
upnpd.default, upnpd.init to not clash.

About the "File" line, I'm afraid you have to list all files 
individualy. To my knowledge there is no possibility to specify a 
directory. It's also safer to list them all, if you would specify a 
directory and an old file lays around the package could be polluted.
The idea of buildtool/buildpackage is that a developer list exactly 
what has to be included in a package or should be downloaded.

Eric


---------------------------------------------------------------------

In the upnpd package, I create several new files that are part of the
package and are LEAF environment specific.  At first, I was keeping 
them
in a patch file, but that seems like I'm mis-using cvs.  I think it
would be best to actually keep them as individual source files right 
in
CVS so people can easily use CVS to see diffs, merge, update, etc...

        upnpd/
                buildtool.cfg
                buildtool.mk
                libupnp-1.2.1a.tar.gz                        -
upstream
                libupnp-1.2.1a-1.diff.gz                -leaf patch
                upnpd_cvs20050215.tar.gz                -upstream
                upnpd_cvs20050215-1.diff.gz                -leaf 
patch
                etc/                                        -new 
files
                        init.d/
                                upnpd
                        default/
                                upnpd
                        shorewall/
                                action.allowinUPnP
                                action.allowoutUPnP
                                action.forwardUPnP
                                start.d/
                                        upnpd_start

First off, would it be bad form to do it this way?

Secondly, if I do, am I stuck creating a <File> line in buildtool.cfg
for every single file, or could I just specify a directory?

                <File etc>
                    Server = cvs-sourceforge
                    Revision = HEAD
                    Directory = upnpd
                </File>

Thanks, and sorry for flooding everyone with all of these newbie
developer questions, I just want to make things as clean as possible 
and
not crap all over the project.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to