Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Bug#768388: csound, cs: error when trying to install together

Date2014-11-24 03:21
FromSteven Yi
SubjectRe: [Cs-dev] Bug#768388: csound, cs: error when trying to install together
AttachmentsNone  None  
Hi Felipe,

I don't know how many users use cs or extract.  I guess if we change names, there's a possibility we might break user's scripts or tools if they depend on those names.  On the other hand, if you're doing renaming for extract and no one has really complained, I suppose changing cs won't be a big issue either. One thing though, either way if you rename the generated cs binary or do so in the debian package, I think we should add a note to the manual about the alternate names.

Thanks!
steven

On Fri Nov 07 2014 at 2:48:42 PM Felipe Sateler <fsateler@debian.org> wrote:
On Thu, Nov 6, 2014 at 9:10 PM, Andreas Beckmann <anbe@debian.org> wrote:
> Package: csound,cs
> Version: 1:6.03.2~dfsg-1
> Severity: serious
> User: treinen@debian.org
> Usertags: edos-file-overwrite
>
> Architecture: amd64
> Distribution: sid
>
> Hi,
>
> automatic installation tests of packages that share a file and at the
> same time do not conflict by their package dependency relationships has
> detected the following problem:
>
>   Selecting previously unselected package cs.
>   Preparing to unpack .../archives/cs_0.5.7-1_all.deb ...
>   Unpacking cs (0.5.7-1) ...
>   dpkg: error processing archive /var/cache/apt/archives/cs_0.5.7-1_all.deb (--unpack):
>    trying to overwrite '/usr/bin/cs', which is also in package csound 1:6.03.2~dfsg-1
>   Processing triggers for mime-support (3.57) ...
>   Errors were encountered while processing:
>    /var/cache/apt/archives/cs_0.5.7-1_all.deb


It looks like there is another utility named cs[1]. Would it make
sense to rename csound utilities to have less generic names? We
already rename in debian the extract tool, as it conflicts with
another one named the same.


[1] https://github.com/exoscale/cs


--

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-11-24 15:12
FromFelipe Sateler
SubjectRe: [Cs-dev] Bug#768388: csound, cs: error when trying to install together
Hi,

On Mon, Nov 24, 2014 at 12:21 AM, Steven Yi  wrote:
> I don't know how many users use cs or extract.  I guess if we change names,
> there's a possibility we might break user's scripts or tools if they depend
> on those names.  On the other hand, if you're doing renaming for extract and
> no one has really complained, I suppose changing cs won't be a big issue
> either. One thing though, either way if you rename the generated cs binary
> or do so in the debian package, I think we should add a note to the manual
> about the alternate names.

I would prefer to not deviate from upstream as much as possible. So if
upstream finds an alternative name, that would be the preferred
solution for me. If upstream doesn't want to rename (which is of
course understandable), I will probably rename to csound_cs (for
consistency with csound_extract).

The extract program should be documented as named csound_extract in
debian and derivatives.

-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-11-24 16:09
Fromjpff
SubjectRe: [Cs-dev] Bug#768388: csound, cs: error when trying to install together
I would prefer a simpe renaming, despite the pain of completions in the 
shell.  I do not think we guarantee scripts, just API and csd/orc/sco 
files.
==John

On Mon, 24 Nov 2014, Felipe Sateler wrote:

> Hi,
>
> On Mon, Nov 24, 2014 at 12:21 AM, Steven Yi  wrote:
>> I don't know how many users use cs or extract.  I guess if we change names,
>> there's a possibility we might break user's scripts or tools if they depend
>> on those names.  On the other hand, if you're doing renaming for extract and
>> no one has really complained, I suppose changing cs won't be a big issue
>> either. One thing though, either way if you rename the generated cs binary
>> or do so in the debian package, I think we should add a note to the manual
>> about the alternate names.
>
> I would prefer to not deviate from upstream as much as possible. So if
> upstream finds an alternative name, that would be the preferred
> solution for me. If upstream doesn't want to rename (which is of
> course understandable), I will probably rename to csound_cs (for
> consistency with csound_extract).
>
> The extract program should be documented as named csound_extract in
> debian and derivatives.
>
> -- 
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-11-24 17:34
FromFelipe Sateler
SubjectRe: [Cs-dev] Bug#768388: Bug#768388: csound, cs: error when trying to install together
On 24 Nov 2014 13:39, "jpff"  wrote:
>
> I would prefer a simpe renaming, despite the pain of completions in the shell.
>  I do not think we guarantee scripts, just API and csd/orc/sco files.
> ==John


If the renaming is done upstream, we probably can pick a better name
than csound_cs :). The purpose of the util is to run csound, so
possibly csrun is a better name?

Similarly, I could rename csound_extract to csextract.

Saludos,

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net