unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] externals/dash cbd3b29 268/316: * .elpaignore: Exclude dev/ from GNU ELPA tarball.
       [not found] ` <20210215205815.4BA3F20DFB@vcs0.savannah.gnu.org>
@ 2021-02-16 18:32   ` Basil L. Contovounesios
  2021-02-17  0:54     ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Basil L. Contovounesios @ 2021-02-16 18:32 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

elpasync@savannah.gnu.org (ELPA Syncer) writes:

> branch: externals/dash
> commit cbd3b293f7e72216c2e44e651ec300b449bae291
> Author: Basil L. Contovounesios <contovob@tcd.ie>
> Commit: Basil L. Contovounesios <contovob@tcd.ie>
>
>     * .elpaignore: Exclude dev/ from GNU ELPA tarball.
> ---
>  .elpaignore | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.elpaignore b/.elpaignore
> new file mode 100644
> index 0000000..8d34358
> --- /dev/null
> +++ b/.elpaignore
> @@ -0,0 +1 @@
> +dev/*

I just realised that this still includes an empty dev directory in the
tarball, and that I would additionally like to exclude the .github
subdirectory (and probably even more of the development files that
reside in the repo, unless there's a policy against that).

I tried changing the file's contents to:

  dev
  .github

and:

  ./dev
  ./.github

and even:

  packages/dash/dev
  packages/dash/.github

thinking it may be related to the directory from which
'tar -X .elpaignore' is called, but the result of
'make dash.tar' stubbornly continues to include both subdirectories.
What am I doing wrong?  Should I just use :ignored-files instead?

Thanks,

-- 
Basil



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [elpa] externals/dash cbd3b29 268/316: * .elpaignore: Exclude dev/ from GNU ELPA tarball.
  2021-02-16 18:32   ` [elpa] externals/dash cbd3b29 268/316: * .elpaignore: Exclude dev/ from GNU ELPA tarball Basil L. Contovounesios
@ 2021-02-17  0:54     ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2021-02-17  0:54 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: emacs-devel

>> +dev/*
>
> I just realised that this still includes an empty dev directory in the

Yes, of course.  It only matches the files within that directory.

> I tried changing the file's contents to:
>
>   dev
>   .github

Hmm... that should work.

> and:
>
>   ./dev
>   ./.github

Not sure about this one.

> and even:
>
>   packages/dash/dev
>   packages/dash/.github

Now you're getting into the messy territory that I'd rather not be
exposed (yet is, indeed).

> thinking it may be related to the directory from which
> 'tar -X .elpaignore' is called, but the result of
> 'make dash.tar' stubbornly continues to include both subdirectories.
> What am I doing wrong?  Should I just use :ignored-files instead?

`:ignored-files` should have the same effect, AFAIK (it uses the same
mechanism).


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-17  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210215205709.15255.42042@vcs0.savannah.gnu.org>
     [not found] ` <20210215205815.4BA3F20DFB@vcs0.savannah.gnu.org>
2021-02-16 18:32   ` [elpa] externals/dash cbd3b29 268/316: * .elpaignore: Exclude dev/ from GNU ELPA tarball Basil L. Contovounesios
2021-02-17  0:54     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).