svn commit: r537581 - in head: . www/radicale www/radicale/files

Michael Gmelin grembo at freebsd.org
Tue Jun 2 21:22:12 UTC 2020



> On 2. Jun 2020, at 23:15, Mathieu Arnold <mat at freebsd.org> wrote:
> 
> On Tue, Jun 02, 2020 at 08:51:14PM +0000, Bernhard Froehlich wrote:
>> Added: head/www/radicale/pkg-message
>> ==============================================================================
>> --- /dev/null    00:00:00 1970    (empty, because file is newly added)
>> +++ head/www/radicale/pkg-message    Tue Jun  2 20:51:14 2020    (r537581)
>> @@ -0,0 +1,10 @@
>> +[
>> +{ type: install
>> +  message: <<EOM
>> +Migration from radicale 1.x to 2.x requires that you export the storage
>> +with radicale 1.1.x before it can be used.
>> +
>> +Migration instructions: https://web.archive.org/web/20190314225402/https://radicale.org/1to2/
>> +EOM
>> +}
>> +]
> 
> This message is a bit strange, it talks about what to do when you
> update, but is only displayed on install.
> 
> It should probably have:
> 
>  type: upgrade
>  maximum_version: 2.0
> 

Just as a general remark, the “update only” messages are not so great when one happens to have a bumpy update that ends up in deleting and re-installing the package (which unfortunately happens sometimes). This got me a few times since the conversion.

Maybe it would be possible to have a way to detect if an installation *might* be an update based on certain files existing? (per port logic). A relatively easy way could be checking if a configuration file for the package already exists, in which case both, install and update message could be displayed.

Cheers,
Michael 


> -- 
> Mathieu Arnold



More information about the svn-ports-all mailing list