unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
       [not found]           ` <jwvoatemcqu.fsf-monnier+emacsbugs@gnu.org>
@ 2014-10-15 10:27             ` Ivan Shmakov
  2014-10-15 13:35               ` Nic Ferrier
       [not found]             ` <jwvmw8pgz7q.fsf-monnier+emacsbugs__11250.1547010199$1413909270$gmane$org@gnu.org>
  1 sibling, 1 reply; 11+ messages in thread
From: Ivan Shmakov @ 2014-10-15 10:27 UTC (permalink / raw)
  To: emacs-devel

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

 >> I hope to polish these over the course of the next few days and
 >> release version 0.2 of the package, which I then request to be added
 >> to GNU ELPA.

 > GNU ELPA is built from a Git repository where development is intended
 > to happen.  So the move does not have to coincide with a release.

	Speaking of the GNU ELPA Git repository, – it seems to be a
	monolithic one (that is: no submodules are used.)  Curiously, is
	there a BCP on maintaining a package in a separate repository
	/and/ keeping its history mirrored in the GNU ELPA one?

	(FWIW, I’d certainly prefer having a repository of my own to
	keep the history of the MW package alone.)

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 10:27             ` GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs Ivan Shmakov
@ 2014-10-15 13:35               ` Nic Ferrier
  2014-10-15 17:51                 ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: Nic Ferrier @ 2014-10-15 13:35 UTC (permalink / raw)
  To: Ivan Shmakov; +Cc: emacs-devel

Ivan Shmakov <ivan@siamics.net> writes:

>>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>  >> I hope to polish these over the course of the next few days and
>  >> release version 0.2 of the package, which I then request to be added
>  >> to GNU ELPA.
>
>  > GNU ELPA is built from a Git repository where development is intended
>  > to happen.  So the move does not have to coincide with a release.
>
> 	Speaking of the GNU ELPA Git repository, – it seems to be a
> 	monolithic one (that is: no submodules are used.)  Curiously, is
> 	there a BCP on maintaining a package in a separate repository
> 	/and/ keeping its history mirrored in the GNU ELPA one?
>
> 	(FWIW, I’d certainly prefer having a repository of my own to
> 	keep the history of the MW package alone.)

I offered marmalade's code base for managing the elpa repository.

It's an upload based system, you just push packages in it.

The code is GPLed so there's no concerns there.

Stefan didn't understand what I meant at the time. Hopefully he does
now.


Nic



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 13:35               ` Nic Ferrier
@ 2014-10-15 17:51                 ` Stefan Monnier
  2014-10-15 18:42                   ` Ivan Shmakov
  2014-10-15 18:51                   ` Nic Ferrier
  0 siblings, 2 replies; 11+ messages in thread
From: Stefan Monnier @ 2014-10-15 17:51 UTC (permalink / raw)
  To: Ivan Shmakov; +Cc: Nic Ferrier, emacs-devel

>> Speaking of the GNU ELPA Git repository, – it seems to be a
>> monolithic one (that is: no submodules are used.)

You get to choose (we call the two options "subtree" and "external").
Auctex, rudel, w3, and a few more are installed as "externals",
i.e. similar to Git submodules (tho hand-managed).

The "external" ones are stored as branches in the same repository
(e.g. the externals/auctex branch).

>> Curiously, is there a BCP on maintaining a package in a separate
>> repository /and/ keeping its history mirrored in the GNU ELPA one?

You can host a mirror elsewhere if you want.  But the elpa repository is
not read-only, so you'll need to pay attention to commits performed
there to keep the two trees in sync.

>> (FWIW, I’d certainly prefer having a repository of my own to
>> keep the history of the MW package alone.)

If you install your package as an "external", then the history is of
course kept separate.

> I offered marmalade's code base for managing the elpa repository.
> It's an upload based system, you just push packages in it.
> The code is GPLed so there's no concerns there.
> Stefan didn't understand what I meant at the time.  Hopefully he does
> now.

Now I understand you suggest we use Marmalade's scripts to manage the
GNU ELPA archive, but I still don't know what that means concretely.

The fact that we have a local storage of the source and VCS history
(with write access so that any Emacs maintainer can install fixes) is an
important design choice.  Would that easily fit into Marmalade's
code base?  How does Marmalade track commits to send them back to the
respective package's maintainer?


        Stefan



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 17:51                 ` Stefan Monnier
@ 2014-10-15 18:42                   ` Ivan Shmakov
  2014-10-15 22:38                     ` Stefan Monnier
  2014-10-15 18:51                   ` Nic Ferrier
  1 sibling, 1 reply; 11+ messages in thread
From: Ivan Shmakov @ 2014-10-15 18:42 UTC (permalink / raw)
  To: emacs-devel

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

 >>> Speaking of the GNU ELPA Git repository, – it seems to be a
 >>> monolithic one (that is: no submodules are used.)

 > You get to choose (we call the two options "subtree" and "external").
 > Auctex, rudel, w3, and a few more are installed as "externals",
 > i. e. similar to Git submodules (tho hand-managed).

 > The "external" ones are stored as branches in the same repository
 > (e. g. the externals/auctex branch).

	Despite Git allowing for this (apparently), I tend to consider
	having several root revisions in a single repository somewhat
	confusing.  But I’ve got the idea.

	Why aren’t these managed as Git submodules, BTW?

 >>> Curiously, is there a BCP on maintaining a package in a separate
 >>> repository /and/ keeping its history mirrored in the GNU ELPA one?

 > You can host a mirror elsewhere if you want.  But the elpa repository
 > is not read-only, so you'll need to pay attention to commits
 > performed there to keep the two trees in sync.

	ACK, thanks for clarifying this up.

[…]

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 17:51                 ` Stefan Monnier
  2014-10-15 18:42                   ` Ivan Shmakov
@ 2014-10-15 18:51                   ` Nic Ferrier
  2014-10-15 22:31                     ` Stefan Monnier
  1 sibling, 1 reply; 11+ messages in thread
From: Nic Ferrier @ 2014-10-15 18:51 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Ivan Shmakov, emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> Now I understand you suggest we use Marmalade's scripts to manage the
> GNU ELPA archive, but I still don't know what that means concretely.
>
> The fact that we have a local storage of the source and VCS history
> (with write access so that any Emacs maintainer can install fixes) is an
> important design choice.  Would that easily fit into Marmalade's
> code base?  How does Marmalade track commits to send them back to the
> respective package's maintainer?

It doesn't. You just upload the resulting package.

Hence avoiding the problem of managing the commits. The author does
that.


Nic



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 18:51                   ` Nic Ferrier
@ 2014-10-15 22:31                     ` Stefan Monnier
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2014-10-15 22:31 UTC (permalink / raw)
  To: Nic Ferrier; +Cc: Ivan Shmakov, emacs-devel

>> Now I understand you suggest we use Marmalade's scripts to manage the
>> GNU ELPA archive, but I still don't know what that means concretely.
>> 
>> The fact that we have a local storage of the source and VCS history
>> (with write access so that any Emacs maintainer can install fixes) is an
>> important design choice.  Would that easily fit into Marmalade's
>> code base?  How does Marmalade track commits to send them back to the
>> respective package's maintainer?
> It doesn't. You just upload the resulting package.

Right, so it doesn't provide the features we need :-(


        Stefan



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

* Re: GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs
  2014-10-15 18:42                   ` Ivan Shmakov
@ 2014-10-15 22:38                     ` Stefan Monnier
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2014-10-15 22:38 UTC (permalink / raw)
  To: Ivan Shmakov; +Cc: emacs-devel

> 	Why aren’t these managed as Git submodules, BTW?

Can't remember.  I did look at them, but they didn't seem to provide
much functionality.  I guess it's mostly a case of NIH.  Tho maybe it
was because submodules can only refer to particular revisions, whereas
we want a reference to "the HEAD".

So should I add your mw as an "external" package?


        Stefan



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

* a few questions on GNU ELPA
       [not found]                       ` <871tmlpngt.fsf@violet.siamics.net>
@ 2015-01-29 13:45                         ` Ivan Shmakov
  2015-01-29 16:06                           ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: Ivan Shmakov @ 2015-01-29 13:45 UTC (permalink / raw)
  To: emacs-devel

	Reading elpa/README left me with a few unanswered questions.

	First of all, – when the package is of the multi-file variety,
	would the “release machinery” be somehow offended should
	I import the pre-release history /without/ the respective
	PKG/PKG.el file, – used (AIUI) for its Version: metadata field?
	(I’ll then push that file in a separate “release” commit.)

	Now, that same file is going to have a dozen lines of code
	(excluding comments) at most (that is: mainly the ‘defgroup’ and
	‘provide’ forms.)  Should I use the GPL3+ notice for that file
	(as the rest of the code uses), or would the simple
	all-permissive license [1] be also acceptable?

	Also regarding the release machinery, do I understand it
	correctly that there’s currently no way to maintain several
	(say, “development” and “stable”) branches in GNU ELPA?

	TIA.

[1] https://gnu.org/software/texinfo/manual/texinfo/html_node/All_002dpermissive-Copying-License.html

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A



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

* Re: a few questions on GNU ELPA
  2015-01-29 13:45                         ` a few questions on GNU ELPA Ivan Shmakov
@ 2015-01-29 16:06                           ` Stefan Monnier
  2015-01-30 20:24                             ` Ivan Shmakov
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Monnier @ 2015-01-29 16:06 UTC (permalink / raw)
  To: emacs-devel

> 	Reading elpa/README left me with a few unanswered questions.
> 	First of all, – when the package is of the multi-file variety,
> 	would the “release machinery” be somehow offended should
> 	I import the pre-release history /without/ the respective
> 	PKG/PKG.el file, – used (AIUI) for its Version: metadata field?
> 	(I’ll then push that file in a separate “release” commit.)

If the <pkg>.el file is missing from the HEAD revision, the nightly
deployment scripts may complain (to me), but if it's just missing in
some previous revision, that's of no consequence.

> 	Now, that same file is going to have a dozen lines of code
> 	(excluding comments) at most (that is: mainly the ‘defgroup’ and
> 	‘provide’ forms.)  Should I use the GPL3+ notice for that file
> 	(as the rest of the code uses), or would the simple
> 	all-permissive license [1] be also acceptable?

For auctex.el I just used the standard GPL3 notice.  Saved me some
valuable thinking ;-)

> 	Also regarding the release machinery, do I understand it
> 	correctly that there’s currently no way to maintain several
> 	(say, “development” and “stable”) branches in GNU ELPA?

That's right.  Of course, you can keep a "development" branch somewhere
in elpa.git if you want, but the GNU ELPA deployment scripts won't know
anything about it.


        Stefan



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

* Re: a few questions on GNU ELPA
  2015-01-29 16:06                           ` Stefan Monnier
@ 2015-01-30 20:24                             ` Ivan Shmakov
  2015-01-31  6:31                               ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: Ivan Shmakov @ 2015-01-30 20:24 UTC (permalink / raw)
  To: emacs-devel

>>>>> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

 >> Reading elpa/README left me with a few unanswered questions.  First
 >> of all, – when the package is of the multi-file variety, would the
 >> “release machinery” be somehow offended should I import the
 >> pre-release history /without/ the respective PKG/PKG.el file, – used
 >> (AIUI) for its Version: metadata field?  (I’ll then push that file
 >> in a separate “release” commit.)

 > If the <pkg>.el file is missing from the HEAD revision, the nightly
 > deployment scripts may complain (to me), but if it's just missing in
 > some previous revision, that's of no consequence.

	ACK, thanks.

 >> Now, that same file is going to have a dozen lines of code
 >> (excluding comments) at most (that is: mainly the ‘defgroup’ and
 >> ‘provide’ forms.)  Should I use the GPL3+ notice for that file (as
 >> the rest of the code uses), or would the simple all-permissive
 >> license [1] be also acceptable?

 > For auctex.el I just used the standard GPL3 notice.  Saved me some
 > valuable thinking ;-)

	I believe that claiming GPLv3+ over a file which is probably not
	copyrightable in the first place is somewhat misleading.

	Furthermore, given that Emacs itself has files bearing that same
	notice (see leim/MISC-DIC/cangjie-table.cns, for instance, and
	also a few more also under leim/), I guess it will do no harm to
	have a trivial .el so licensed in GNU ELPA.  Or will it?

 >> Also regarding the release machinery, do I understand it correctly
 >> that there’s currently no way to maintain several (say,
 >> “development” and “stable”) branches in GNU ELPA?

 > That's right.  Of course, you can keep a "development" branch
 > somewhere in elpa.git if you want, but the GNU ELPA deployment
 > scripts won't know anything about it.

	ACK, thanks.

	BTW, as the resulting .tar file is going to differ to the one
	I’ve previously made available, does it make sense to use
	something like 0.1.1 for the GNU ELPA version, so to avoid the
	availability of two /different/ mw-0.1.tar files?  (I’d rather
	use something like 0.1-elpa instead, but that isn’t going to be
	accepted by version-to-list.)

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A



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

* Re: a few questions on GNU ELPA
  2015-01-30 20:24                             ` Ivan Shmakov
@ 2015-01-31  6:31                               ` Stefan Monnier
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2015-01-31  6:31 UTC (permalink / raw)
  To: emacs-devel

> 	have a trivial .el so licensed in GNU ELPA.  Or will it?

As I said: use a standard GPLv3 blurb and move on.  It's not worth
spending time on this.

> 	BTW, as the resulting .tar file is going to differ to the one
> 	I’ve previously made available, does it make sense to use
> 	something like 0.1.1 for the GNU ELPA version, so to avoid the
> 	availability of two /different/ mw-0.1.tar files?

Sounds fine, yes.


        Stefan



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

end of thread, other threads:[~2015-01-31  6:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87oatpkof7.fsf@passepartout.tim-landscheidt.de>
     [not found] ` <87r3ye3mf7.fsf@violet.siamics.net>
     [not found]   ` <jwv61fpq5pu.fsf-monnier+emacsbugs@gnu.org>
     [not found]     ` <87zjd1zj0q.fsf@violet.siamics.net>
     [not found]       ` <jwv7g02qyvf.fsf-monnier+emacsbugs@gnu.org>
     [not found]         ` <87k342zabt.fsf@violet.siamics.net>
     [not found]           ` <jwvoatemcqu.fsf-monnier+emacsbugs@gnu.org>
2014-10-15 10:27             ` GNU ELPA; mw 0.1: modular MediaWiki interface for Emacs Ivan Shmakov
2014-10-15 13:35               ` Nic Ferrier
2014-10-15 17:51                 ` Stefan Monnier
2014-10-15 18:42                   ` Ivan Shmakov
2014-10-15 22:38                     ` Stefan Monnier
2014-10-15 18:51                   ` Nic Ferrier
2014-10-15 22:31                     ` Stefan Monnier
     [not found]             ` <jwvmw8pgz7q.fsf-monnier+emacsbugs__11250.1547010199$1413909270$gmane$org@gnu.org>
     [not found]               ` <874muvpz2m.fsf__26477.4647228935$1414013842$gmane$org@violet.siamics.net>
     [not found]                 ` <87siide1r2.fsf@violet.siamics.net>
     [not found]                   ` <87k3186mri.fsf_-_@violet.siamics.net>
     [not found]                     ` <jwvvbkqa3l0.fsf-monnier+emacsbugs@gnu.org>
     [not found]                       ` <871tmlpngt.fsf@violet.siamics.net>
2015-01-29 13:45                         ` a few questions on GNU ELPA Ivan Shmakov
2015-01-29 16:06                           ` Stefan Monnier
2015-01-30 20:24                             ` Ivan Shmakov
2015-01-31  6:31                               ` 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).