all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 45346@debbugs.gnu.org
Subject: bug#45346: [elpa-archive] :ignored-files is processed to early
Date: Mon, 21 Dec 2020 11:20:34 +0100	[thread overview]
Message-ID: <87im8vbgul.fsf@bernoul.li> (raw)
In-Reply-To: <jwvft40gmws.fsf-monnier+emacs@gnu.org>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> It appears that `:ignored-files' is processes before `:renames' and
>> that that should be changed.
>
> Indeed, the renaming is applied last and it's not easy to change that
> with the approach I use (the renaming is done by `tar` via
> `--transform`).
>
> Maybe I could try and remove the entries after generating the tarball.
> Hmm...

IMO it would be better to just do it in lisp and simplify the call to
`tar'.

> Note, FWIW, I tend to consider that it's OK to keep useless files in the
> tarball as long as they're not actively harmful (e.g. they triple the
> size of the tarball), and more generally I think it's best to use
> `:ignore` and `:renames` with moderation.

I consider useless files to be actively harmful.  Some users will
investigate what those apparently useless files are for and once they
have seen that they are in fact useless some of them still won't be
satisfied and continue to wonder what they have missed because obviously
nobody would include such useless files...  I am like that and would
like to save others (plural) from having to do the same work over and
over again when I can just do it for them once.

     Jonas





  reply	other threads:[~2020-12-21 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 20:41 bug#45346: [elpa-archive] :ignored-files is processed to early Jonas Bernoulli
2020-12-20 22:04 ` Stefan Monnier
2020-12-21 10:20   ` Jonas Bernoulli [this message]
2020-12-21 14:36     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im8vbgul.fsf@bernoul.li \
    --to=jonas@bernoul.li \
    --cc=45346@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.