[erlang-questions] rebar3 tar and endless loop

Tristan Sloughter t@REDACTED
Wed Nov 8 17:54:32 CET 2017


But if it ignores it won't you just not get your files in the tarball?

--
  Tristan Sloughter
  "I am not a crackpot" - Abe Simpson
  t@REDACTED


On Wed, Nov 8, 2017, at 08:46 AM, Alexander Petrovsky wrote:
> 
> 
> 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/1059a673/attachment.htm>


More information about the erlang-questions mailing list