>>>     Added installation of unmanaged files to SymlinkProgram
>>
>> Installation of unmanaged files is/should not be made at
>> SymlinkProgram, but at InstallPackage and Compile. You don't want
>> unmanaged files to be re-copied every time you switch versions using
>> SymlinkProgram, for example.
>
> I missed a previous thread about this, sorry, but looking closer at
> the issue, I do see that having a way to install unmanaged files from
> the command line could be a good thing. But I still think it should
> not be part of SymlinkProgram. I don't think copying files around the
> system is conceptually a task for SymlinkProgram.
>
> One could start imagining complex schemes for handling unmanaged
> files, kind of like UpdateSettings, but unmanaged files are, well,
> unmanaged. :) The very point of having "unmanaged files" was the
> realization that there is no good way to manage them, so I'm skeptical
> about schemes for automating their control... The changes offering to
> remove files in RemoveProgram look good, but I fear we won't be able
> to go much further than that. :\

One idea could be the creation of something like /Programs/YourApp/ 
Version/Local, which would be exempt from hash checks, then making an  
Unmanaged subfolder in there.

Then it would be perfectly safe for SymlinkProgram and RemoveProgram  
to "manage" unmanaged files using links without breaking file hashes.  
The only other necessary changes that would come as a result, at  
least that I can think of, is that Compile and InstallPackage would  
have to delete any Local folder before running VerifyProgram, thus  
removing any unsigned and potentially evil content in the package  
before it can do any damage.

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to