unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should these files ignored?
@ 2015-05-22  8:45 Feng Shu
  2015-05-25 20:57 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Feng Shu @ 2015-05-22  8:45 UTC (permalink / raw)
  To: guix; +Cc: Feng Shu


#+BEGIN_COMMENT
    doc/guix.info-1
    doc/guix.info-2
    po/guix/cs.po
    po/guix/da.po
    po/guix/de.po
    po/guix/eo.po
    po/guix/fr.po
    po/guix/hu.po
    po/guix/pt_BR.po
    po/guix/sr.po
    po/guix/vi.po
    po/packages/de.po
    po/packages/eo.po
    po/packages/fr.po
    po/packages/hu.po
    po/packages/pt_BR.po
    po/packages/sr.po
    po/packages/vi.po
#+END_COMMENT

--

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

* Re: Should these files ignored?
  2015-05-22  8:45 Should these files ignored? Feng Shu
@ 2015-05-25 20:57 ` Ludovic Courtès
  2015-05-26 15:45   ` Pjotr Prins
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-05-25 20:57 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix

Feng Shu <tumashu@163.com> skribis:

> #+BEGIN_COMMENT
>     doc/guix.info-1
>     doc/guix.info-2

These are now ignored.

>     po/guix/cs.po

These must not be ignored, they are checked in.

Thanks,
Ludo’.

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

* Re: Should these files ignored?
  2015-05-25 20:57 ` Ludovic Courtès
@ 2015-05-26 15:45   ` Pjotr Prins
  2015-05-26 20:45     ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Pjotr Prins @ 2015-05-26 15:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix, Feng Shu

On Mon, May 25, 2015 at 10:57:52PM +0200, Ludovic Courtès wrote:
> >     po/guix/cs.po
> 
> These must not be ignored, they are checked in.

When you run make they change because they contain a time stamp. It
messes up the git record. Can we run make without generating these .po
files?

Pj.

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

* Re: Should these files ignored?
  2015-05-26 15:45   ` Pjotr Prins
@ 2015-05-26 20:45     ` Ludovic Courtès
  2015-05-26 21:37       ` Taylan Ulrich Bayırlı/Kammer
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-05-26 20:45 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix, Feng Shu

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> On Mon, May 25, 2015 at 10:57:52PM +0200, Ludovic Courtès wrote:
>> >     po/guix/cs.po
>> 
>> These must not be ignored, they are checked in.
>
> When you run make they change because they contain a time stamp. It
> messes up the git record. Can we run make without generating these .po
> files?

They’re only regenerated upon ‘make dist’ or ‘make -C po/guix update-po’,
I think.

I just run ‘git reset --hard’ when that happens, which is rare.

Ludo’.

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

* Re: Should these files ignored?
  2015-05-26 20:45     ` Ludovic Courtès
@ 2015-05-26 21:37       ` Taylan Ulrich Bayırlı/Kammer
  2015-05-27 15:04         ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2015-05-26 21:37 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix, Feng Shu

ludo@gnu.org (Ludovic Courtès) writes:

> They’re only regenerated upon ‘make dist’ or ‘make -C po/guix update-po’,
> I think.
>
> I just run ‘git reset --hard’ when that happens, which is rare.

Actually I get the .po file changes when I build after e.g. "git reset
--hard && git clean -fdx", meaning essentially bring the directory to
the state of a freshly cloned repository.  I haven't tried if it also
happens after "make clean", but it will certainly happen to those who
clone the repository and build for the first time.

Taylan

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

* Re: Should these files ignored?
  2015-05-26 21:37       ` Taylan Ulrich Bayırlı/Kammer
@ 2015-05-27 15:04         ` Ludovic Courtès
  2015-05-27 16:40           ` Pjotr Prins
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-05-27 15:04 UTC (permalink / raw)
  To: Taylan Ulrich "Bayırlı/Kammer"; +Cc: guix, Feng Shu

taylanbayirli@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> They’re only regenerated upon ‘make dist’ or ‘make -C po/guix update-po’,
>> I think.
>>
>> I just run ‘git reset --hard’ when that happens, which is rare.
>
> Actually I get the .po file changes when I build after e.g. "git reset
> --hard && git clean -fdx", meaning essentially bring the directory to
> the state of a freshly cloned repository.  I haven't tried if it also
> happens after "make clean", but it will certainly happen to those who
> clone the repository and build for the first time.

Yes, it happens on a first clone.

Yet I’m uncomfortable with ignoring changes to these files because we
occasionally really want to update them and to see the changes.

So I’m not sure what can be done.  Ideas?

Ludo’.

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

* Re: Should these files ignored?
  2015-05-27 15:04         ` Ludovic Courtès
@ 2015-05-27 16:40           ` Pjotr Prins
  0 siblings, 0 replies; 7+ messages in thread
From: Pjotr Prins @ 2015-05-27 16:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix, Feng Shu

Make it a separate make target.

Pj.

On Wed, May 27, 2015 at 05:04:08PM +0200, Ludovic Courtès wrote:
> taylanbayirli@gmail.com (Taylan Ulrich "Bay??rl??/Kammer") skribis:
> 
> > ludo@gnu.org (Ludovic Courtès) writes:
> >
> >> They???re only regenerated upon ???make dist??? or ???make -C po/guix update-po???,
> >> I think.
> >>
> >> I just run ???git reset --hard??? when that happens, which is rare.
> >
> > Actually I get the .po file changes when I build after e.g. "git reset
> > --hard && git clean -fdx", meaning essentially bring the directory to
> > the state of a freshly cloned repository.  I haven't tried if it also
> > happens after "make clean", but it will certainly happen to those who
> > clone the repository and build for the first time.
> 
> Yes, it happens on a first clone.
> 
> Yet I???m uncomfortable with ignoring changes to these files because we
> occasionally really want to update them and to see the changes.
> 
> So I???m not sure what can be done.  Ideas?
> 
> Ludo???.
> 

-- 

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

end of thread, other threads:[~2015-05-27 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22  8:45 Should these files ignored? Feng Shu
2015-05-25 20:57 ` Ludovic Courtès
2015-05-26 15:45   ` Pjotr Prins
2015-05-26 20:45     ` Ludovic Courtès
2015-05-26 21:37       ` Taylan Ulrich Bayırlı/Kammer
2015-05-27 15:04         ` Ludovic Courtès
2015-05-27 16:40           ` Pjotr Prins

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

	https://git.savannah.gnu.org/cgit/guix.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).