NLeSC / python-template

Netherlands eScience Center Python Template
https://research-software-directory.org/software/nlesc-python-template
Apache License 2.0
177 stars 76 forks source link

Automatically determine which files are added or removed between different options or versions #439

Open sjvrijn opened 3 weeks ago

sjvrijn commented 3 weeks ago

Based on #383, #405, #429, #430, and #431.

Scenarios:

In both scenarios above, you will be left with additional files, but potentially without the knowledge of which files you can safely remove to clean up your repository. We should provide an overview of which files are added by various upgrades, so the user can safely remove just those files if ever undoing that upgrade.

Manually writing such an overview is also an option, but would be very susceptible to becoming outdated. My ideal solution would be a script that generates the list of which files are added/removed between predefined set of different choices or profiles, e.g.

fdiblen commented 2 weeks ago

The logic implemented in #547 is selecting the files for recommended profile. The files for the ask profile will depend on the selected features. Anything that cannot be selected by users will come with the minimum profile.

An overview of files and profiles can be found at:

fdiblen commented 2 weeks ago

@sjvrijn can we close this issue?