dots icon indicating copy to clipboard operation
dots copied to clipboard

Force re-running of installation scripts

Open samatjain opened this issue 11 years ago • 4 comments

A '--force' flag for install, or something similar, that forces dots to rerun all installation scripts (*.install files).

At the moment, dots only will execute an installation script if the corresponding configuration file has changed.

samatjain avatar May 08 '14 19:05 samatjain

How about -r for --reinstall. Which will force reinstalling of the selected configuration files (even if they haven't changed). Which will also run the install scripts.

Or do you think it should be more fine grained where we differentiate between reinstalling configuration files, and re-running the install scripts?

evanpurkhiser avatar May 08 '14 19:05 evanpurkhiser

I don't think there's a need to differentiate—a "--reinstall' option sounds good to me.

samatjain avatar May 09 '14 00:05 samatjain

I would like to propose another enhancement: *.update scrips (or something similar), which get executed every time dots install is been executed whether or not the config file have changed. I would like to use this, to sync some dconf/gsettings config between my computers.

What do you think about this proposal?

countsudoku avatar Oct 05 '15 19:10 countsudoku

@countsudoku I'm definitely open to something like that.

I've been quite busy for the past few months and unforunately have not had the time to work on a refactored version of dots as I've briefly outlined in GH-20. So I'm not sure I'll have time to implement it (though it should be very straight forward, and thus I would be open to a PR.

evanpurkhiser avatar Oct 13 '15 08:10 evanpurkhiser