Package: cookieslicer
Library Package: cookieslicerProjectQualityCommunityMaintainersThe cookieslicer project was born out of a simple need: to have a templating system
that we could apply multiple times as our knowledge grew.  With multiple open source
projects being maintained, it was becoming difficult to remember which versions
of which files were "the best".  While thecookiecutterproject is a good first step to solving these problems, we felt it needed something
in front of it to help control the templating.The cookieslicer application adds three files to a project that assist it in maintaining
good templates.  The source directory is the location of the template to be applied,
and contains acookieslicer.jsonfile that gives addition instructions on how
to handle certain situations that arise when re-applying a template.  The output
directory is the location that the template is applied to.  This directory contains
acookiecutter-config.yamlthat is applied to the template in the source directory
usingcookiecutter.  This directory also contains acookieslicer.jsonfile with
configuration information for the cookieslicer application.The rest of the process is (mostly) simple.  Cookieslicer uses thecookiecutter-config.yamlfile and the source directory to generate a completed template in a temporary directory.
With that template including the source directory'scookieslicer.jsonfile, cookieslicer
then checks to see if the source directory's template version is the same as the
output directory's template version, quickly exitting if they are the same.  Otherwise,
the source directory'scookieslicer.jsonfile tells Cookieslicer how to alter files
in the output directory.Outside of a normal file copy, there are three different modes in which this happens.
Theoncemode instructs Cookieslicer to only copy a file if it does not exist
in the output directory.  Theattentionmode instructs Cookieslicer to copy the
file if it is different and to place it on an attention list.  This list is relayed
to the end-user at the end of the templating.  Finally, theremovemode instructs
Cookieslicer to remove a file with a specific path from the output directory. While
we are not sure if this is a complete list of actions to take, we feel that it was
a good enough list to start with.RequirementsThis project required Python 3.8 or later to function.InstallationpipinstallcookieslicerHow To Use This PackageNOTE: This project is under development.  More to come in the following weeks.ExamplesFor concrete examples that show the power of this library package, please consult
theExamples Document.  If you come up with a normal example
of how to use our package that we have missed, or come up with a novel example of
how to use our package, please file an issue using the process below and let us
know. From our experience, one example can often paint a picture of how to use our
project that is difficult to explain clearly with just words.Issues and Future PlansIf you would like to report an issue with the library or the documentation, please
file an issueusing GitHub.
Please remember to fill in as much information as possible including a good, repeatable
pattern for reproducing the issue.  Do not overflow us with too much information,
but provide us with enough information to make the problem evident to us.If you would like to us to implement a feature that you believe is important, please
file an issueusing GitHubthat includes what you want to add, why you want to add it, and why it is important
to you, and how you think it will help others.  We truly want to listen to what
you see as a good feature, so please do not be upset if we say "no" or "let me
think about it".Please note that the issue you file will usually be the start of a conversation,
so be ready for more questions.  If you have any Python developer skills, please
mention that as well.  The conversations about "hey, can you..." is a lot different
than "if I do... can I add it to the project?".When Did Things Change?The changelog for this project is maintainedat this location.Still Have Questions?If you still have questions, please consult ourFrequently Asked Questionsdocument.Instructions For ContributingDeveloper notes on various topics are kept in the theDeveloper Notesdocument.If you attempting to contribute something to this project,
please follow the steps outlined in theCONTRIBUTING.mdfile.