emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Name dtache.el


From: Niklas Eklund
Subject: Re: Name dtache.el
Date: Fri, 20 May 2022 16:33:28 +0000

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.

>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

/Niklas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]