I agree on the .gitkeep name and the text Henry suggested. Josh
On Tuesday, May 15, 2018 9:17:38 AM EDT Mike Jennings wrote: > I like the idea of the .gitkeep that seems to be short and straight > forward. I am also going to put the text provided by Henry into the file > so that there will be some context associated with it. > > Thanks for the feedback. > > Mike Jennings > > On Tue, May 15, 2018 at 9:08 AM Aaron Coburn <[email protected]> wrote: > > The pattern that I've seen elsewhere is to place a .gitkeep file in the > > otherwise empty directory. > > > > In principle, this file could have any name, and while I've also > > repositories use .gitignore for this purpose, I agree with Mike that this > > isn't really to the point. > > > > By using the .gitkeep name, it signals to developers that the file is > > related to git metadata rather than application code. > > > > Regards, > > Aaron > > > > > On May 14, 2018, at 6:03 PM, Henry Schaffer <[email protected]> wrote: > > > > > > IMHO the name should inform a person who sees it (a developer or user - > > > whoever) that it's not for them. So a name like .empty or .ignore is > > > helpful. But it would be nice to give more info - it could be done via a > > > longer name, or perhaps there could be a brief explanation in the file > > > along the lines ot > > > > > > The purpose of this file is to keep this directory from being empty so > > > > the > > > > > directory will be retained in the git repository. The directory is used > > > > by > > > > > the backend code for some scripts used during provisioning, and so needs > > > > to > > > > > be retained. > > > > > > --henry > > > > > > On Mon, May 14, 2018 at 4:39 PM, Mike Jennings <[email protected]> > > > > wrote: > > >> There are a number of empty directories under the backend code that are > > >> used for placing scripts that automatically get executed during certain > > >> provisioning stages > > >> > > >> We plan on putting a empty file in each of these directories so that > > >> the > > >> directory structure will be persisted to the git repository. > > >> > > >> The current thought is to use something like ".empty" as the file name > > > > to > > > > >> commit to the repository, then have this file ignored in the management > > >> node code. > > >> > > >> We could also use the ".gitignore" file, but this is really not what we > > > > are > > > > >> trying to accomplish here. > > >> > > >> Does anyone have thoughts on what a preferred way to do this would be. > > >> > > >> Thanks, > > >> > > >> Mike Jennings -- ------------------------------- Josh Thompson Systems Programmer Virtual Computing Lab (VCL) North Carolina State University [email protected] 919-515-5323 my GPG/PGP key can be found at www.keyserver.net All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.
signature.asc
Description: This is a digitally signed message part.
