unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GNU ELPA
@ 2013-03-19 13:37 Leo Liu
  2013-03-20  3:42 ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Leo Liu @ 2013-03-19 13:37 UTC (permalink / raw)
  To: emacs-devel

Hello,

Any possibility to set up GNU ELPA in such a way that the package
archive is rebuilt without too much delay after commits?

Leo




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

* Re: GNU ELPA
  2013-03-19 13:37 GNU ELPA Leo Liu
@ 2013-03-20  3:42 ` Dmitry Gutov
  2013-03-20 12:48   ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2013-03-20  3:42 UTC (permalink / raw)
  To: Leo Liu; +Cc: emacs-devel

Leo Liu <sdl.web@gmail.com> writes:

> Any possibility to set up GNU ELPA in such a way that the package
> archive is rebuilt without too much delay after commits?

I'd also like to know the current state of affairs.

company-pkg.el was updated ~12 hours ago, yet the new version of the
package still hasn't been built.



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

* Re: GNU ELPA
  2013-03-20  3:42 ` Dmitry Gutov
@ 2013-03-20 12:48   ` Stefan Monnier
  2013-03-23 16:33     ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-03-20 12:48 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Leo Liu, emacs-devel

>> Any possibility to set up GNU ELPA in such a way that the package
>> archive is rebuilt without too much delay after commits?

Yes.  The current cron job is a bit too heavy weight to run it often,
but hopefully someone can tweak it so that it looks at what has changed
to decide which packages to rebuild (instead of rebuilding the world
every time).

> I'd also like to know the current state of affairs.

It's described in elpa/packages/README.

> company-pkg.el was updated ~12 hours ago, yet the new version of the
> package still hasn't been built.

The cron job is run once per day, so you may have to wait up to 24h.
Also, the cron job may fail if the copyright lines aren't right.


        Stefan



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

* Re: GNU ELPA
  2013-03-20 12:48   ` Stefan Monnier
@ 2013-03-23 16:33     ` Dmitry Gutov
  2013-03-23 19:44       ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2013-03-23 16:33 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Leo Liu, emacs-devel

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

>> I'd also like to know the current state of affairs.
>
> It's described in elpa/packages/README.

>> company-pkg.el was updated ~12 hours ago, yet the new version of the
>> package still hasn't been built.
>
> The cron job is run once per day, so you may have to wait up to 24h.
> Also, the cron job may fail if the copyright lines aren't right.

Thank you. The rebuild interval doesn't seem to be mentioned in README,
though.

Could you also advise on my current problem with company/.dir-locals.el?

I added it to the repository, because Emacs committers sometimes install
changes into elpa branch directly.

And yesterday I added there a setting for
`emacs-lisp-docstring-fill-column', to honor the existing formatting in
docstrings, and it's not safe-local by default.

Should I remove the file, the variable from it, or can we add an
exception to not add .dir-locals.el to packages?



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

* Re: GNU ELPA
  2013-03-23 16:33     ` Dmitry Gutov
@ 2013-03-23 19:44       ` Stefan Monnier
  2013-03-23 20:52         ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-03-23 19:44 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Leo Liu, emacs-devel

>>> I'd also like to know the current state of affairs.
>> It's described in elpa/packages/README.
>>> company-pkg.el was updated ~12 hours ago, yet the new version of the
>>> package still hasn't been built.
>> The cron job is run once per day, so you may have to wait up to 24h.
>> Also, the cron job may fail if the copyright lines aren't right.
> Thank you.  The rebuild interval doesn't seem to be mentioned in README,
> though.

It says "nightly", which I thought was clear enough (tho it doesn't say
which timezone is used, so it ends up meaning little more than once per day).

> Could you also advise on my current problem with company/.dir-locals.el?

I don't understand what is the problem with it:

> I added it to the repository, because Emacs committers sometimes install
> changes into elpa branch directly.

Seems OK, yes.  Actually, we could/should even place one in
elpa/.dir-locals.el.

> And yesterday I added there a setting for
> `emacs-lisp-docstring-fill-column', to honor the existing formatting
> in docstrings, and it's not safe-local by default.

Hmm... feel free to mark it as safe-local, but of course that won't help
users of Emacs<=24.3.

> Should I remove the file, the variable from it, or can we add an
> exception to not add .dir-locals.el to packages?

It doesn't seem to warrant such measures.
After all, the user can just say "accept and consider this value as safe
from now on".


        Stefan



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

* Re: GNU ELPA
  2013-03-23 19:44       ` Stefan Monnier
@ 2013-03-23 20:52         ` Dmitry Gutov
  2013-03-23 21:18           ` Dmitry Gutov
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Gutov @ 2013-03-23 20:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On 23.03.2013 23:44, Stefan Monnier wrote:
>>>> I'd also like to know the current state of affairs.
>>> It's described in elpa/packages/README.
>>>> company-pkg.el was updated ~12 hours ago, yet the new version of the
>>>> package still hasn't been built.
>>> The cron job is run once per day, so you may have to wait up to 24h.
>>> Also, the cron job may fail if the copyright lines aren't right.
>> Thank you.  The rebuild interval doesn't seem to be mentioned in README,
>> though.
>
> It says "nightly", which I thought was clear enough (tho it doesn't say
> which timezone is used, so it ends up meaning little more than once per day).

Ah, sorry. I found the "nightly" bit when I first read your previous 
reply, but couldn't find it today, having opened elpa/README instead.

>> Could you also advise on my current problem with company/.dir-locals.el?
>
> I don't understand what is the problem with it:
>
>> I added it to the repository, because Emacs committers sometimes install
>> changes into elpa branch directly.
>
> Seems OK, yes.  Actually, we could/should even place one in
> elpa/.dir-locals.el.

I think so. Though that would force all packages with different 
formatting to grow a similar file.

>> And yesterday I added there a setting for
>> `emacs-lisp-docstring-fill-column', to honor the existing formatting
>> in docstrings, and it's not safe-local by default.
>
> Hmm... feel free to mark it as safe-local, but of course that won't help
> users of Emacs<=24.3.

My thoughts exactly.

>> Should I remove the file, the variable from it, or can we add an
>> exception to not add .dir-locals.el to packages?
>
> It doesn't seem to warrant such measures.
> After all, the user can just say "accept and consider this value as safe
> from now on".

I have a report that the prompt appears during the installation, in some 
circumstances: https://github.com/company-mode/company-mode/issues/4

Probably an issue with some third-party package, but if Steve Purcell 
has it, then any of the hundreds of people who base their Emacs 
configuration off of his are likely to encounter it, too.

Maybe that's also acceptable, I haven't decided yet.



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

* Re: GNU ELPA
  2013-03-23 20:52         ` Dmitry Gutov
@ 2013-03-23 21:18           ` Dmitry Gutov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Gutov @ 2013-03-23 21:18 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On 24.03.2013 0:52, Dmitry Gutov wrote:
> On 23.03.2013 23:44, Stefan Monnier wrote:
>>> Should I remove the file, the variable from it, or can we add an
>>> exception to not add .dir-locals.el to packages?
>>
>> It doesn't seem to warrant such measures.
>> After all, the user can just say "accept and consider this value as safe
>> from now on".
>
> I have a report that the prompt appears during the installation, in some
> circumstances: https://github.com/company-mode/company-mode/issues/4
>
> Probably an issue with some third-party package, but if Steve Purcell
> has it, then any of the hundreds of people who base their Emacs
> configuration off of his are likely to encounter it, too.

Okay, that was a local problem and it had been fixed. Sorry for the noise.



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

end of thread, other threads:[~2013-03-23 21:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19 13:37 GNU ELPA Leo Liu
2013-03-20  3:42 ` Dmitry Gutov
2013-03-20 12:48   ` Stefan Monnier
2013-03-23 16:33     ` Dmitry Gutov
2013-03-23 19:44       ` Stefan Monnier
2013-03-23 20:52         ` Dmitry Gutov
2013-03-23 21:18           ` Dmitry Gutov

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).