[erlang-questions] rebar3 tar and endless loop

Alexander Petrovsky askjuise@REDACTED
Wed Nov 8 17:46:22 CET 2017


2017-11-08 19:12 GMT+03:00 Tristan Sloughter <t@REDACTED>:

> So the issue is simply the use of copying to `./` as opposed to
> `./somedir`, right?
>

Exactly!


>
> Certainly an issue, easy fix is to put it under another diectory, since
> you can't access it with `code:priv_dir` anyway since it isn't under an
> application no reason not to do `{copy, "priv", "etc/"}` but you probably
> already did that.
>
> I'd like to see the fix, if possible, in erl_tar but I'd have to take a
> closer look to know for sure if that is possible and what it would be. Not
> sure when I'll get time to dig in.
>

I'm agree that it's will be perfect to fix the problem in erl_tar, but as
quick fix we can ignore ./ mapping in
https://github.com/erlware/relx/blob/master/src/rlx_prv_archive.erl#L111,
and teach overlay_files ignore ./ mappings


>
> --
>   Tristan Sloughter
>   "I am not a crackpot" - Abe Simpson
>   t@REDACTED
>
>
> On Wed, Nov 8, 2017, at 07:52 AM, Alexander Petrovsky wrote:
>
>
>
> 2017-11-08 16:25 GMT+03:00 Kostis Sagonas <kostis@REDACTED>:
>
> On 11/08/2017 11:36 AM, Alexander Petrovsky wrote:
>
> Would be great to hear rebar3 maintainers opinion.
>
>
> Why don't you send this as an issue in rebar3's repo then?
>
> Kostis
>
>
> It's not only rebar3 problem. If you read the letter, you should notice,
> the problem occur in erl_tar.
>
>
> --
> Петровский Александр / Alexander Petrovsky,
>
> Skype: askjuise
> Phone: +7 931 9877991
>
> *_______________________________________________*
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 931 9877991
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171108/ece87e96/attachment.htm>


More information about the erlang-questions mailing list