Flent-users discussion archives
 help / color / mirror / Atom feed
From: "Dave Täht" <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Comment <comment@noreply.github.com>,
	flent-users <flent-users@flent.org>
Subject: Re: [Flent-users] [tohojo/flent] Stable output filenames for batch runs (#179)
Date: Fri, 06 Sep 2019 07:50:25 -0700	[thread overview]
Message-ID: <tohojo/flent/issues/179/528885668@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/179@github.com>


[-- Attachment #1.1: Type: text/plain, Size: 1357 bytes --]

Pete Heist <notifications@github.com> writes:\r
\r
> Currently, the output filenames for batches always include batch_time:\r
>\r
>     def gen_filename(self, settings, batch, argset, rep):\r
>         filename = "batch-%s-%s-%s" % (\r
>             settings.BATCH_NAME,\r
>             batch['batch_time'],\r
>             batch.get('filename_extra', "%s-%s" % (argset, rep))\r
>         )\r
>         return clean_path(filename)\r
>\r
> On one hand, this ensures that output filenames are unique, but on the\r
> other hand, one can't create stable links to the output filenames that\r
> don't change between runs, for example in a static HTML or markdown\r
> file.\r
>\r
> What I could do is add a filename_no_time or similar parameter that if\r
> set to anything "truthy" (maybe if s in [ '1', 'true', 'yes' ]),\r
> excludes the time from the filename, then it's up to people to\r
> properly set filename_extra.\r
>\r
> Would you be ok if I do that, or do you have any other suggestions for\r
> this?\r
\r
--no-time\r
\r
>\r
> —\r
> You are receiving this because you are subscribed to this thread.\r
> Reply to this email directly, view it on GitHub, or mute the thread.\r
\r
\r
-- \r
You are receiving this because you commented.\r
Reply to this email directly or view it on GitHub:\r
https://github.com/tohojo/flent/issues/179#issuecomment-528885668

[-- Attachment #1.2: Type: text/html, Size: 3034 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

  reply	other threads:[~2019-09-06 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 13:23 Pete Heist
2019-09-06 14:50 ` Dave Täht [this message]
2019-09-06 15:36 ` Pete Heist
2019-09-06 18:02 ` Toke Høiland-Jørgensen
2019-09-09  5:56 ` Pete Heist
2019-09-09  5:56 ` Pete Heist

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

  List information: https://lists.flent.org/postorius/lists/flent-users.flent.org/

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

  git send-email \
    --in-reply-to=tohojo/flent/issues/179/528885668@github.com \
    --to=notifications@github.com \
    --cc=comment@noreply.github.com \
    --cc=flent-users@flent.org \
    --cc=flent@noreply.github.com \
    --cc=reply+AHVNJPZ665434VKWOKXQVNF3P6SLDEVBNHHB2OOFUM@reply.github.com \
    --subject='Re: [Flent-users] [tohojo/flent] Stable output filenames for batch runs (#179)' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox