unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Niklas Eklund <niklas.eklund@posteo.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Name dtache.el
Date: Fri, 20 May 2022 16:33:28 +0000	[thread overview]
Message-ID: <87wnegxixz.fsf@posteo.net> (raw)
In-Reply-To: <e182d900-c42b-4e7a-a50a-a4701215a5fc@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

Niklas Eklund <niklas.eklund@posteo.net> writes:

> Another option I could think about is making a release of the package at 
> its current path https://git.sr.ht/~niklaseklund/dtache which will be its 
> last dtache release. But just before the release I add a commit that 
> issues a warning that if you are running this release you are tracking 
> the wrong patch.

Here is a patch of what I meant. Applying this prior to the 0.7 release so
that it is included. Then removing it and making a 0.8 which will be
found on the new https location.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 2824 bytes --]

From c8e43b32807e4c0aa396d989bd0146b764aa8973 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
Date: Fri, 20 May 2022 18:10:38 +0200
Subject: [PATCH] Warn users to update

---
 detached.el |  9 +++++++++
 dtache.el   | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 dtache.el

diff --git a/detached.el b/detached.el
index f5a0ac9..5d2fea3 100644
--- a/detached.el
+++ b/detached.el
@@ -53,6 +53,15 @@
 
 (declare-function detached-eshell-get-dtach-process "detached-eshell")
 
+(warn
+ "The `dtach' package has been renamed to `detached'.
+
+If you are using ELPA to install the package make sure to update your configuration to install detached instead of dtache.
+If you are installing directly from source, make sure its https://git.sr.ht/~niklaseklund/detached.el
+
+The version of detached should be 0.8 or newer, if its not you are tracking the wrong source, after a successful update this message should not be present anymore.
+Remember to follow the README for instructions on how to configure `detached.el.")
+
 ;;;; Variables
 
 ;;;;; Customizable
diff --git a/dtache.el b/dtache.el
new file mode 100644
index 0000000..9956468
--- /dev/null
+++ b/dtache.el
@@ -0,0 +1,37 @@
+;;; dtache.el --- A package to launch, and manage, detached processes -*- lexical-binding: t -*-
+
+;; Copyright (C) 2020-2022  Free Software Foundation, Inc.
+
+;; This file is part of GNU Emacs.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; This is `dtache' the old package file you should switch to `detached'.
+
+;;; Code:
+
+(warn
+ "The `dtach' package has been renamed to `detached'.
+
+If you are using ELPA to install the package make sure to update your configuration to install detached instead of dtache.
+If you are installing directly from source, make sure its https://git.sr.ht/~niklaseklund/detached.el
+
+The version of detached should be 0.8 or newer, if its not you are tracking the wrong source, after a successful update this message should not be present anymore.
+Remember to follow the README for instructions on how to configure `detached.el.")
+
+(provide 'dtache)
+
+;;; dtache.el ends here
-- 
2.34.0


[-- Attachment #3: Type: text/plain, Size: 11 bytes --]


/Niklas



  reply	other threads:[~2022-05-20 16:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 16:35 Update URL to dtache.el package Niklas Eklund
2022-04-27 19:16 ` Tassilo Horn
2022-04-27 22:06 ` Stefan Monnier
2022-05-01 21:29   ` Niklas Eklund
2022-05-01 21:36     ` Niklas Eklund
2022-05-02  6:18       ` Stefan Monnier
2022-05-08 23:36         ` Name dtache.el Richard Stallman
2022-05-09 19:26           ` Niklas Eklund
2022-05-20 14:23             ` Niklas Eklund
2022-05-20 14:31               ` Stefan Monnier
2022-05-20 15:19                 ` Niklas Eklund
2022-05-20 15:25                   ` Stefan Monnier
2022-05-20 15:36                     ` Niklas Eklund
2022-05-20 16:33                       ` Niklas Eklund [this message]
2022-05-20 18:58                       ` Stefan Monnier
2022-05-20 19:27                         ` Niklas Eklund
2022-05-20 20:44                           ` Niklas Eklund
2022-05-20 21:00                             ` Stefan Monnier
2022-05-20 21:21                               ` Niklas Eklund
2022-05-20 21:35                                 ` Stefan Monnier
2022-05-21  7:38                                   ` Niklas Eklund
2022-05-21 14:44                                     ` Stefan Monnier
2022-05-21 16:13                                       ` Niklas Eklund
2022-05-20 15:50                 ` Eli Zaretskii

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87wnegxixz.fsf@posteo.net \
    --to=niklas.eklund@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.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 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).