Hi,
while reading your documentation, I noticed a few very minor errors. I'll collect them all here (please let me know if there is a better location):
from my_grab import my_grab_config
if __name__ == '__main__':
with BuildConfig(project_label='<project_label>') as state:
grab_folder(state, src=grab_config.source_root),
Not sure if I get that. FAB will automatically remove old files. In order to prevent that, you need to run your own cleanup step? I think an example would be great here. I would expect that if I run a 'cleanup' script, it would remove things earlier (or more things), since FAB would still do its own cleanup anyway. So, FAB detects that you have your own cleanup step, and then does not run its own cleanup? Is that correct?
[edit]: OK, I found it explicitly mentioned elsewhere (can't remember where). I would suggest to update the house keeping paragraph to include:
You can add a cleanup_prebuilds() step, where you can explicitly control how long to keep prebuild files. This may be useful, for example, if you often switch between two versions of your code and want to keep the prebuild speed benefits when building both. If you do not add your own cleanup_prebuild step, Fab will automatically run a default step which will remove all prebuild files that are not part of the current build.
Hi, while reading your documentation, I noticed a few very minor errors. I'll collect them all here (please let me know if there is a better location):
1. https://metomi.github.io/fab/writing_config.html
Under 'further reading' there is
It would be great if this could become a link
2. https://metomi.github.io/fab/advanced_config.html
This page contains as the second code example:
I believe the last line should use my_grab_config
https://metomi.github.io/fab/advanced_config.html#housekeeping
Not sure if I get that. FAB will automatically remove old files. In order to prevent that, you need to run your own cleanup step? I think an example would be great here. I would expect that if I run a 'cleanup' script, it would remove things earlier (or more things), since FAB would still do its own cleanup anyway. So, FAB detects that you have your own cleanup step, and then does not run its own cleanup? Is that correct? [edit]: OK, I found it explicitly mentioned elsewhere (can't remember where). I would suggest to update the house keeping paragraph to include:
https://metomi.github.io/fab/apidoc/fab.steps.compile_fortran.html
This contains:
Notice the c files mentioned :)