[Netarchivesuite-devel] Deployer does not handle encoding properly

Nicolas Giraud nikokode at gmail.com
Thu Jul 25 16:36:48 CEST 2013


Hi Søren,

So that would be one option for the input file encoding (or system
default if not present), and then an output encoding per deployMachine
(defaults to UTF-8 if not present).

I'll check back with Sara, I think I can have it ready by tomorrow
morning in time for codefreeze. Otherwise it will be postponed to the
next release.

Cheers,

2013/7/25 Søren Vejrup Carlsen <svc at kb.dk>:
> Hi Nicolas.
>
> It isn’t a known problem, as far as I know. But I think it is worthwhile to
> include with 4.2.
>
> It would probably be safest to make it an optional attribute to the
> deployMachine
>
> So
>
> <deployMachine os="windows" name="kb-test-bar-015.bitarkiv.kb.dk">
>
> becomes
>
> <deployMachine os="windows" encoding=”some-encoding”
> name="kb-test-bar-015.bitarkiv.kb.dk">
>
>
>
> Best regards
>
> Søren
>
>
>
> PS: I’m planning for code-freeze tomorrow
>
>
>
> Fra: netarchivesuite-devel-bounces at ml.sbforge.org
> [mailto:netarchivesuite-devel-bounces at ml.sbforge.org] På vegne af Nicolas
> Giraud
> Sendt: 25. juli 2013 14:50
> Til: netarchivesuite-devel at ml.sbforge.org
> Emne: [Netarchivesuite-devel] Deployer does not handle encoding properly
>
>
>
> Hi,
>
> This is Nicolas from BnF. As part ouf or internal workflow, we are
> delegating the integration and delivery of software to a dedicated team.
> They have a Hudson server that handles CI and various automated deployment.
>
> I've been working with a colleague from the integration team to set up a NAS
> environment, through a bash script that uses the deployer program. However
> is so happens that the default file encoding is different on the build
> server and on the target machine(s), which causes trouble.
>
> I've filed an issue (https://sbforge.org/jira/browse/NAS-2219), what do you
> think of it? Is this a known bug? Is it worth putting the fix in 4.2? I
> believe it would roughly take me half a day of work to fix it.
>
> On the other hand I can modifiy the Hudson build so that the deployer runs
> on the target machine (there's only one right now).
>
> Let me know what you think.
>
> Best regards,
>
>
> --
> Nicolas Giraud
> ---------------------------------------------------------------------------------------------
> Développeur Archives du Web - Bibliothèque Nationale de France
> Web Archiving Developper - National Library of France
> ---------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> Netarchivesuite-devel mailing list
> Netarchivesuite-devel at ml.sbforge.org
> http://ml.sbforge.org/mailman/listinfo/netarchivesuite-devel
>



-- 
Nicolas Giraud
---------------------------------------------------------------------------------------------
Développeur Archives du Web - Bibliothèque Nationale de France
Web Archiving Developper - National Library of France
---------------------------------------------------------------------------------------------



More information about the Netarchivesuite-devel mailing list