all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Adding new package to Gnu ELPA with no upstream
Date: Tue, 01 Nov 2022 17:59:07 -0400	[thread overview]
Message-ID: <jwvedum1gvd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <86wn8e1kae.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 01 Nov 2022 13:39:37 -0700")

> $ cd c:/Projects/elpa/
> $ git stash
> $ git checkout --orphan externals/gpr-mode
> $ git rm --cached "*"
> $ git commit --allow-empty -m "new package gpr-mode"
> $ git checkout -f main
> # edit elpa-packages - copy from wisi
> $ git commit -m "new package gpr-mode"
> $ git push --set-upstream origin externals/gpr-mode
> $ make packages/gpr-mode
> # copy files, commit
> $ cd packages/gpr-mode
> $ git checkout -b externals-release/gpr-mode
> $ git push --set-upstream origin externals-release/gpr-mode
> $ git checkout externals/gpr-mode
> $ cd c:/Projects/elpa/
> $ git push
> $ git stash pop

> Is this worth adding in elpa/README? or is this case rare enough that it
> will only confuse people?

Maybe a better option is to add a `make fresh/<PKG>` rule that does most
of the above steps for you (at least for non-release branch, and then
a subsequent rule to add a release branch)?


        Stefan




  reply	other threads:[~2022-11-01 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01 20:39 Adding new package to Gnu ELPA with no upstream Stephen Leake
2022-11-01 21:59 ` Stefan Monnier [this message]
2022-11-02 15:01   ` Stephen Leake

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=jwvedum1gvd.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /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.