Skip to content

Customize folders to be git-ignored #403

Open
@fabiofortkamp

Description

@fabiofortkamp

Is your feature request related to a problem? Please describe.
I do not always agree with DrWatson's default options for the .gitignore file. I extensively use Quarto notebooks, which are leightweight enough to be included in version control, and my data files usually are small CSV and text files that can be included in the repository, so that everything is ready when the project is clone. So I always have to exclude the notebooks and data folders in the .gitignore file.

Describe the solution you'd like
I think that this file could be customized during project creation.

I actually have a working solution that modifies the initialize_project function with a new keyword option that accepts a vector of folders to be ignored (the default is everything that is currently in .gitignore). Should I submit a PR?

Describe alternatives you've considered
I guess the alternative would be to comply with the expected behavior and create a script to download the data files and host the notebooks in some external services, calling the functions in the DrWatson project I'm developing. For my small projects, this seems more trouble that it's worth.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions