Open Callek opened 8 months ago
When modifying a given file that is already in a package, running cph create doesn't seem to re-add or modify files that were already present.
cph create
Having a --force that behaves like transmute --force would be useful.
--force
transmute --force
In manual testing I:
cph extract
.tar.bz2
cph create ...
The md5sum of the package did not change, indicating that it was not modified.
The package should be able to be updated/recreated in-place
I created a branch in https://github.com/Callek/conda-package-handling/tree/add-force-create to try and explore doing this, but I ran into an issue with my testing method (it seems the files get updated timestamps) and ran against my wall-clock allotment on looking into this.
I don't know if I'll get back to it, but I'm more than happy if anyone wants to take my work and drive it forward.
Checklist
What is the idea?
When modifying a given file that is already in a package, running
cph create
doesn't seem to re-add or modify files that were already present.Having a
--force
that behaves liketransmute --force
would be useful.Why is this needed?
In manual testing I:
cph extract
.tar.bz2
withcph create ...
into the same location as the originalThe md5sum of the package did not change, indicating that it was not modified.
What should happen?
The package should be able to be updated/recreated in-place
Additional Context
I created a branch in https://github.com/Callek/conda-package-handling/tree/add-force-create to try and explore doing this, but I ran into an issue with my testing method (it seems the files get updated timestamps) and ran against my wall-clock allotment on looking into this.
I don't know if I'll get back to it, but I'm more than happy if anyone wants to take my work and drive it forward.