* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
@ 2023-04-04 14:30 Rostislav Svoboda
2023-04-04 14:35 ` Rostislav Svoboda
` (5 more replies)
0 siblings, 6 replies; 19+ messages in thread
From: Rostislav Svoboda @ 2023-04-04 14:30 UTC (permalink / raw)
To: 62664; +Cc: Rostislav Svoboda
---
gnu/packages/emacs-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2b96c60057..d037fa9075 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36689,6 +36689,52 @@ (define-public emacs-tintin-mode
(description "This major mode focuses on highlighting as many aspects of the TinTin++ scripting language as possible, organizing commands into functional categories and highlighting specific modes that many commands use to accomplish different tasks.")
(license license:asl2.0))))
+(define-public emacs-copilot
+ (let ((commit "e11847ab0c3b183a1e53fbc1ac587de82912b9cf")
+ (revision "0"))
+ (package
+ (name "emacs-copilot")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zerolfx/copilot.el.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gsxb268vqyim65ag8d7dlgdqyxqrjcjirlnbfbfq0pdr1y2158q"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:include #~(cons "^dist/" %default-include)
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'substitute-copilot-node-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "copilot.el"
+ ("copilot-node-executable"
+;;; Copilot requires Node 16+, however packaging v16 and/or v18 is not
+;;; trivial. See https://issues.guix.gnu.org/53414,
+;;; https://issues.guix.gnu.org/59188 .
+;;;
+;;; As a hack, download and compile recent Node version manually.
+ (format #f "%s/node-v18.15.0/out/Release/node" (getenv "dev")) ; Remove this line when Node 16+ becomes available as a Guix package.
+ ;; (search-input-file inputs "/bin/node") ; Activate this line when Node 16+ becomes available as a Guix package.
+ )))))))
+ ;; (inputs (list node)) ; Activate this line when Node 16+ becomes available as a Guix package.
+ (propagated-inputs
+ (list emacs-dash emacs-editorconfig emacs-s))
+ (home-page
+ "https://github.com/zerolfx/copilot.el.git")
+ (synopsis "An unofficial Copilot plugin for Emacs")
+ (description
+ "Copilot.el is an Emacs plugin for GitHub Copilot. This plugin is
+unofficial and based on binaries provided by copilot.vim. Note: You need
+access to GitHub Copilot to use this plugin.")
+ (license license:gpl3+))))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
--
2.39.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
@ 2023-04-04 14:35 ` Rostislav Svoboda
2023-04-04 14:54 ` jgart via Guix-patches via
` (4 subsequent siblings)
5 siblings, 0 replies; 19+ messages in thread
From: Rostislav Svoboda @ 2023-04-04 14:35 UTC (permalink / raw)
To: 62664; +Cc: Nicolas Goaziou
As hinted in the commit message, this patch is Work-In-Progress,
waiting for Node v16+ to become available as a Guix package. I.e. this
patch is not ready for integration in the upstream, yet
However I assume some folks may benefit from it, anyway.
Cheers Bost
Le mar. 4 avr. 2023 à 16:31, Rostislav Svoboda
<rostislav.svoboda@gmail.com> a écrit :
>
> ---
> gnu/packages/emacs-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 2b96c60057..d037fa9075 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -36689,6 +36689,52 @@ (define-public emacs-tintin-mode
> (description "This major mode focuses on highlighting as many aspects of the TinTin++ scripting language as possible, organizing commands into functional categories and highlighting specific modes that many commands use to accomplish different tasks.")
> (license license:asl2.0))))
>
> +(define-public emacs-copilot
> + (let ((commit "e11847ab0c3b183a1e53fbc1ac587de82912b9cf")
> + (revision "0"))
> + (package
> + (name "emacs-copilot")
> + (version (git-version "0" revision commit))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/zerolfx/copilot.el.git")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "0gsxb268vqyim65ag8d7dlgdqyxqrjcjirlnbfbfq0pdr1y2158q"))))
> + (build-system emacs-build-system)
> + (arguments
> + (list
> + #:include #~(cons "^dist/" %default-include)
> + #:phases
> + #~(modify-phases %standard-phases
> + (add-after 'unpack 'substitute-copilot-node-executable
> + (lambda* (#:key inputs #:allow-other-keys)
> + (emacs-substitute-variables "copilot.el"
> + ("copilot-node-executable"
> +;;; Copilot requires Node 16+, however packaging v16 and/or v18 is not
> +;;; trivial. See https://issues.guix.gnu.org/53414,
> +;;; https://issues.guix.gnu.org/59188 .
> +;;;
> +;;; As a hack, download and compile recent Node version manually.
> + (format #f "%s/node-v18.15.0/out/Release/node" (getenv "dev")) ; Remove this line when Node 16+ becomes available as a Guix package.
> + ;; (search-input-file inputs "/bin/node") ; Activate this line when Node 16+ becomes available as a Guix package.
> + )))))))
> + ;; (inputs (list node)) ; Activate this line when Node 16+ becomes available as a Guix package.
> + (propagated-inputs
> + (list emacs-dash emacs-editorconfig emacs-s))
> + (home-page
> + "https://github.com/zerolfx/copilot.el.git")
> + (synopsis "An unofficial Copilot plugin for Emacs")
> + (description
> + "Copilot.el is an Emacs plugin for GitHub Copilot. This plugin is
> +unofficial and based on binaries provided by copilot.vim. Note: You need
> +access to GitHub Copilot to use this plugin.")
> + (license license:gpl3+))))
> +
> ;;;
> ;;; Avoid adding new packages to the end of this file. To reduce the chances
> ;;; of a merge conflict, place them above by existing packages with similar
> --
> 2.39.2
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
2023-04-04 14:35 ` Rostislav Svoboda
@ 2023-04-04 14:54 ` jgart via Guix-patches via
2023-04-04 19:19 ` Liliana Marie Prikler
` (3 subsequent siblings)
5 siblings, 0 replies; 19+ messages in thread
From: jgart via Guix-patches via @ 2023-04-04 14:54 UTC (permalink / raw)
To: 62664; +Cc: Rostislav Svoboda
Hi Rostislav,
Thanks for this patch. It builds fine for me. Linter complains about a few nitpicks regarding line lengths and article of synopsis.
I added your patch as a pre-release to Guix "R" Us:
https://git.sr.ht/~whereiseveryone/guixrus/commit/4fe9054f758c022ef757773b9870cbd548bde26d
I'll let you know if we run into any other issues when trying the package from Guix "R" Us.
all best,
jgart
https://whereis.みんな/
https://toys.whereis.みんな/
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
2023-04-04 14:35 ` Rostislav Svoboda
2023-04-04 14:54 ` jgart via Guix-patches via
@ 2023-04-04 19:19 ` Liliana Marie Prikler
2023-04-05 13:07 ` Giovanni Biscuolo
2023-04-06 19:34 ` Brian Cully via Guix-patches via
2023-04-07 5:00 ` [bug#62664] jgart via Guix-patches via
` (2 subsequent siblings)
5 siblings, 2 replies; 19+ messages in thread
From: Liliana Marie Prikler @ 2023-04-04 19:19 UTC (permalink / raw)
To: Rostislav Svoboda, 62664
Am Dienstag, dem 04.04.2023 um 16:30 +0200 schrieb Rostislav Svoboda:
> + "Copilot.el is an Emacs plugin for GitHub Copilot. This
> plugin is
> +unofficial and based on binaries provided by copilot.vim. Note: You
> need
> +access to GitHub Copilot to use this plugin.")
> + (license license:gpl3+))))
Given that this package is based on binaries, and the fact that Github
Copilot has attracted a wide variety of concerns regarding licensing,
privacy and autocompleted vulnerabilities, I think we can do better
without it :)
Cheers
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-04 19:19 ` Liliana Marie Prikler
@ 2023-04-05 13:07 ` Giovanni Biscuolo
2023-04-06 19:34 ` Brian Cully via Guix-patches via
1 sibling, 0 replies; 19+ messages in thread
From: Giovanni Biscuolo @ 2023-04-05 13:07 UTC (permalink / raw)
To: Liliana Marie Prikler, Rostislav Svoboda, 62664
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> Am Dienstag, dem 04.04.2023 um 16:30 +0200 schrieb Rostislav Svoboda:
>> + "Copilot.el is an Emacs plugin for GitHub Copilot. This
>> plugin is
>> +unofficial and based on binaries provided by copilot.vim. Note: You
>> need
>> +access to GitHub Copilot to use this plugin.")
>> + (license license:gpl3+))))
> Given that this package is based on binaries,
binaries are wasm files in "dist" folder:
https://github.com/zerolfx/copilot.el/tree/main/dist
--8<---------------cut here---------------start------------->8---
tree-sitter-go.wasm
tree-sitter-javascript.wasm
tree-sitter-python.wasm
tree-sitter-ruby.wasm
tree-sitter-typescript.wasm
tree-sitter.wasm
--8<---------------cut here---------------end--------------->8---
AFAIU taken by copilot.vim repo:
https://github.com/github/copilot.vim/tree/release/copilot/dits
> and the fact that Github
> Copilot has attracted a wide variety of concerns regarding licensing,
> privacy and autocompleted vulnerabilities, I think we can do better
> without it :)
For what it matters, I totally agree with Liliana
Thanks! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-04 19:19 ` Liliana Marie Prikler
2023-04-05 13:07 ` Giovanni Biscuolo
@ 2023-04-06 19:34 ` Brian Cully via Guix-patches via
1 sibling, 0 replies; 19+ messages in thread
From: Brian Cully via Guix-patches via @ 2023-04-06 19:34 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: Rostislav Svoboda, 62664
> Given that this package is based on binaries, and the fact that Github
> Copilot has attracted a wide variety of concerns regarding licensing,
> privacy and autocompleted vulnerabilities, I think we can do better
> without it :)
I came to this ticket to make this same comment.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664]
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
` (2 preceding siblings ...)
2023-04-04 19:19 ` Liliana Marie Prikler
@ 2023-04-07 5:00 ` jgart via Guix-patches via
2024-10-17 22:26 ` [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot jgart via Guix-patches via
2024-10-28 2:40 ` [bug#62664] [PATCH v2] " jgart via Guix-patches via
2024-12-23 17:44 ` [bug#62664] [PATCH v3] " jgart via Guix-patches via
5 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2023-04-07 5:00 UTC (permalink / raw)
To: 62664
Hi,
The author is making an effort to prepare copilot.el for submission to MELPA:
https://github.com/zerolfx/copilot.el/issues/120
This package is obviously not ready for GNU Guix at this moment given the vendored WASM, etc. but let's give the project maintainer a chance to see how they manage to prepare this Emacs package for inclusion in MELPA.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2023-04-07 5:00 ` [bug#62664] jgart via Guix-patches via
@ 2024-10-17 22:26 ` jgart via Guix-patches via
2024-10-27 10:39 ` Nicolas Goaziou via Guix-patches via
0 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-10-17 22:26 UTC (permalink / raw)
To: 62664
Cc: Giovanni Biscuolo, Brian Cully, jgart, Rostislav Svoboda,
Liliana Marie Prikler
Hi Guixers,
Here's a revised patch for emacs-copilot. Please review and let me know
if I can merge it.
This package has been cleaned of all binaries and is now being prepared
for submission to MELPA:
https://github.com/melpa/melpa/pull/9217
I believe it now complies with all requirements for inclusion in GNU
Guix.
I've added Rostislav as a co-author.
WDYT
--
all the best,
jgart
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2024-10-17 22:26 ` [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot jgart via Guix-patches via
@ 2024-10-27 10:39 ` Nicolas Goaziou via Guix-patches via
2024-10-28 2:41 ` jgart via Guix-patches via
0 siblings, 1 reply; 19+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-10-27 10:39 UTC (permalink / raw)
To: 62664; +Cc: bjc, g, liliana.prikler, jgart, rostislav.svoboda
Hello,
jgart via Guix-patches via <guix-patches@gnu.org> writes:
> Here's a revised patch for emacs-copilot. Please review and let me know
> if I can merge it.
Did you forget to add the patch to your email?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v2] gnu: Add emacs-copilot.
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
` (3 preceding siblings ...)
2023-04-07 5:00 ` [bug#62664] jgart via Guix-patches via
@ 2024-10-28 2:40 ` jgart via Guix-patches via
2024-12-23 17:44 ` [bug#62664] [PATCH v3] " jgart via Guix-patches via
5 siblings, 0 replies; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-10-28 2:40 UTC (permalink / raw)
To: 62664
Cc: jgart, Rostislav Svoboda, Rostislav Svoboda, jgart,
Liliana Marie Prikler, Giovanni Biscuolo, Brian Cully,
Nicolas Goaziou, Andrew Tropin, Katherine Cox-Buday
* gnu/packages/emacs-xyz.scm (emacs-copilot): New variable.
Co-authored-by: Rostislav Svoboda <rostislav.svoboda@gmail.com>
Change-Id: If2e32f5cc4df95ce99642b41a1df818a35b4343c
---
gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 488b4cb5d7..76c9ed9947 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4422,6 +4422,43 @@ (define-public emacs-carp
listing type errors via Flycheck, as well as REPL support for Carp.")
(license license:asl2.0))))
+(define-public emacs-copilot
+ (let ((commit "b5878d6a8c741138b5efbf4fe1c594f3fd69dbdd")
+ (revision "0"))
+ (package
+ (name "emacs-copilot")
+ (version (git-version "1.27.0" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://github.com/copilot-emacs/copilot.el")
+ (commit commit)))
+ (method git-fetch)
+ (sha256
+ (base32 "1dgi3g2n57dv1a8hjjzgccrbl1bdf4xqwn9bmr453fz4qfab0v6k"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'substitute-copilot-node-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "copilot.el"
+ ("copilot-node-executable"
+ (search-input-file inputs "/bin/node"))))))))
+ (inputs (list node-lts))
+ (propagated-inputs
+ (list emacs-dash
+ emacs-editorconfig
+ emacs-f
+ emacs-s))
+ (home-page "https://github.com/copilot-emacs/copilot.el")
+ (synopsis "Copilot plugin for Emacs")
+ (description
+ "This package provides an Emacs plugin for GitHub Copilot.")
+ (license license:expat))))
+
(define-public emacs-coterm
(package
(name "emacs-coterm")
base-commit: 0d15c6e46c5c3a14ae776bb98c293527ba8ad319
--
2.46.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2024-10-27 10:39 ` Nicolas Goaziou via Guix-patches via
@ 2024-10-28 2:41 ` jgart via Guix-patches via
2024-12-23 17:47 ` jgart via Guix-patches via
0 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-10-28 2:41 UTC (permalink / raw)
To: 62664
Cc: Brian Cully, Giovanni Biscuolo, Liliana Marie Prikler, jgart,
Nicolas Goaziou, Rostislav Svoboda
> Did you forget to add the patch to your email?
Yes, I did ;()
Attached in previous email to this thread.
--
all the best,
jgart
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
` (4 preceding siblings ...)
2024-10-28 2:40 ` [bug#62664] [PATCH v2] " jgart via Guix-patches via
@ 2024-12-23 17:44 ` jgart via Guix-patches via
2024-12-24 8:20 ` Liliana Marie Prikler
5 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-12-23 17:44 UTC (permalink / raw)
To: 62664
Cc: jgart, Rostislav Svoboda, jgart, Liliana Marie Prikler,
Giovanni Biscuolo, Brian Cully, Nicolas Goaziou, Andrew Tropin,
Katherine Cox-Buday
* gnu/packages/emacs-xyz.scm (emacs-copilot): New variable.
Change-Id: I3d693e5a59a28f488663421e6b2948cf8b51e031
---
gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 65563bec24..f5826a87aa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29992,6 +29992,43 @@ (define-public emacs-dired-preview
customisation options to control its behaviour.")
(license license:gpl3+)))
+(define-public emacs-copilot
+ (let ((commit "d2126f288cebd9cd7e768c53a4cbfa6eedcb0666")
+ (revision "0"))
+ (package
+ (name "emacs-copilot")
+ (version (git-version "1.27.0" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://github.com/copilot-emacs/copilot.el")
+ (commit commit)))
+ (method git-fetch)
+ (sha256
+ (base32 "14qnhp9pzilkrkaz2w52ylanjg44idi41dg6g7lqqc4fk0ib12kj"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'substitute-copilot-node-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "copilot.el"
+ ("copilot-node-executable"
+ (search-input-file inputs "/bin/node"))))))))
+ (inputs (list node-lts))
+ (propagated-inputs
+ (list emacs-dash
+ emacs-editorconfig
+ emacs-f
+ emacs-s))
+ (home-page "https://github.com/copilot-emacs/copilot.el")
+ (synopsis "Copilot plugin for Emacs")
+ (description
+ "This package provides an Emacs plugin for GitHub Copilot.")
+ (license license:expat))))
+
(define-public emacs-dired-launch
(package
(name "emacs-dired-launch")
base-commit: 64774d76869cd14712064d34f82f06c78ee796a6
--
2.46.0
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2024-10-28 2:41 ` jgart via Guix-patches via
@ 2024-12-23 17:47 ` jgart via Guix-patches via
2024-12-23 18:34 ` jgart via Guix-patches via
0 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-12-23 17:47 UTC (permalink / raw)
To: 62664
Cc: Brian Cully, Giovanni Biscuolo, Liliana Marie Prikler, jgart,
Nicolas Goaziou, Rostislav Svoboda
Hi Nicolas,
Here is a v3. Let me know if you still can't apply it.
I used mumi cli to send this.
emacs-copilot is now in melpa:
https://melpa.org/#/copilot
--
all the best,
jgart
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2024-12-23 17:47 ` jgart via Guix-patches via
@ 2024-12-23 18:34 ` jgart via Guix-patches via
2024-12-23 19:02 ` Liliana Marie Prikler
0 siblings, 1 reply; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-12-23 18:34 UTC (permalink / raw)
To: 62664
Cc: Brian Cully, Giovanni Biscuolo, Liliana Marie Prikler, jgart,
Nicolas Goaziou, Rostislav Svoboda
Actually looking at this package more carefully, the reason it needs
node is to npm install copilot-node-server which has an unclear license:
https://github.com/jfcherng/copilot-node-server
Here's what nixpkgs did:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/co/copilot-node-server/package.nix#L38
Will this be a problem for emacs-copilot since we should include
copilot-node-server as a required dependency instead of installing it
via the npm wrapper?
If yes, I can close this issue and put this in a Guix channel instead.
Would be unfortunate though, since this is becoming a popular package in
the Emacs ecosystem.
--
all the best,
jgart
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot.
2024-12-23 18:34 ` jgart via Guix-patches via
@ 2024-12-23 19:02 ` Liliana Marie Prikler
0 siblings, 0 replies; 19+ messages in thread
From: Liliana Marie Prikler @ 2024-12-23 19:02 UTC (permalink / raw)
To: jgart, 62664
Cc: Giovanni Biscuolo, Rostislav Svoboda, Nicolas Goaziou,
Brian Cully
Am Montag, dem 23.12.2024 um 12:34 -0600 schrieb jgart:
>
> Actually looking at this package more carefully, the reason it needs
> node is to npm install copilot-node-server which has an unclear
> license:
>
> https://github.com/jfcherng/copilot-node-server
>
> Here's what nixpkgs did:
>
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/co/copilot-node-server/package.nix#L38
>
> Will this be a problem for emacs-copilot since we should include
> copilot-node-server as a required dependency instead of installing it
> via the npm wrapper?
>
> If yes, I can close this issue and put this in a Guix channel
> instead.
Unbundling would be nicer, but if you don't need to download the
internet as part of the build or on first start to fetch all the
dependencies (i.e. if you can properly package it with available
sources + node), then you may forgo that for now. That's a big if
however, one that rarely holds in JS ecosystems.
> Would be unfortunate though, since this is becoming a popular package
> in the Emacs ecosystem.
Selling your data to Microsoft should be less popular, then.
Cheers
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
2024-12-23 17:44 ` [bug#62664] [PATCH v3] " jgart via Guix-patches via
@ 2024-12-24 8:20 ` Liliana Marie Prikler
2024-12-24 15:03 ` jgart via Guix-patches via
0 siblings, 1 reply; 19+ messages in thread
From: Liliana Marie Prikler @ 2024-12-24 8:20 UTC (permalink / raw)
To: jgart, 62664
Cc: Brian Cully, Giovanni Biscuolo, Katherine Cox-Buday,
Andrew Tropin, Nicolas Goaziou, Rostislav Svoboda
Am Montag, dem 23.12.2024 um 11:44 -0600 schrieb jgart:
> * gnu/packages/emacs-xyz.scm (emacs-copilot): New variable.
>
> Change-Id: I3d693e5a59a28f488663421e6b2948cf8b51e031
> ---
Just had a look at it and `copilot-install-server` looks quite sus to
me.
Cheers
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
2024-12-24 8:20 ` Liliana Marie Prikler
@ 2024-12-24 15:03 ` jgart via Guix-patches via
2024-12-24 15:13 ` jgart via Guix-patches via
2024-12-24 18:11 ` Liliana Marie Prikler
0 siblings, 2 replies; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-12-24 15:03 UTC (permalink / raw)
To: Liliana Marie Prikler, 62664
Cc: Brian Cully, Giovanni Biscuolo, Katherine Cox-Buday,
Andrew Tropin, Nicolas Goaziou, Rostislav Svoboda
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
>
> Just had a look at it and `copilot-install-server` looks quite sus to
>
Which part looks sus besides the fact that the author says that they don't own the codes and that they are obfuscated and won't fix?
https://github.com/jfcherng/copilot-node-server/issues/22#issuecomment-2560567220
🙃
[-- Attachment #2: Type: text/html, Size: 1647 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
2024-12-24 15:03 ` jgart via Guix-patches via
@ 2024-12-24 15:13 ` jgart via Guix-patches via
2024-12-24 18:11 ` Liliana Marie Prikler
1 sibling, 0 replies; 19+ messages in thread
From: jgart via Guix-patches via @ 2024-12-24 15:13 UTC (permalink / raw)
To: Liliana Marie Prikler, 62664
Cc: Brian Cully, Giovanni Biscuolo, Katherine Cox-Buday,
Andrew Tropin, Nicolas Goaziou, Rostislav Svoboda
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
I opened an issue here with the copilot.el community:
https://github.com/copilot-emacs/copilot.el/issues/356
[-- Attachment #2: Type: text/html, Size: 324 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [bug#62664] [PATCH v3] gnu: Add emacs-copilot.
2024-12-24 15:03 ` jgart via Guix-patches via
2024-12-24 15:13 ` jgart via Guix-patches via
@ 2024-12-24 18:11 ` Liliana Marie Prikler
1 sibling, 0 replies; 19+ messages in thread
From: Liliana Marie Prikler @ 2024-12-24 18:11 UTC (permalink / raw)
To: jgart, 62664
Cc: Brian Cully, Giovanni Biscuolo, Katherine Cox-Buday,
Andrew Tropin, Nicolas Goaziou, Rostislav Svoboda
Am Dienstag, dem 24.12.2024 um 15:03 +0000 schrieb jgart:
>
> > Just had a look at it and `copilot-install-server` looks quite sus
> > to me
>
>
> Which part looks sus besides the fact that the author says that they
> don't own the codes and that they are obfuscated and won't fix?
>
> https://github.com/jfcherng/copilot-node-server/issues/22#issuecomment-2560567220
>
> 🙃
Yeah, thanks for pointing that out. I feel like atm, since IIUC this
server is required to make the package work, you can not offer this as
"free software" in good conscience (said conscience being informed by
the literal letter of the FSDG saying "no").
Cheers
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-12-24 18:12 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04 14:30 [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot Rostislav Svoboda
2023-04-04 14:35 ` Rostislav Svoboda
2023-04-04 14:54 ` jgart via Guix-patches via
2023-04-04 19:19 ` Liliana Marie Prikler
2023-04-05 13:07 ` Giovanni Biscuolo
2023-04-06 19:34 ` Brian Cully via Guix-patches via
2023-04-07 5:00 ` [bug#62664] jgart via Guix-patches via
2024-10-17 22:26 ` [bug#62664] [PATCH] [WIP] gnu: Add emacs-copilot jgart via Guix-patches via
2024-10-27 10:39 ` Nicolas Goaziou via Guix-patches via
2024-10-28 2:41 ` jgart via Guix-patches via
2024-12-23 17:47 ` jgart via Guix-patches via
2024-12-23 18:34 ` jgart via Guix-patches via
2024-12-23 19:02 ` Liliana Marie Prikler
2024-10-28 2:40 ` [bug#62664] [PATCH v2] " jgart via Guix-patches via
2024-12-23 17:44 ` [bug#62664] [PATCH v3] " jgart via Guix-patches via
2024-12-24 8:20 ` Liliana Marie Prikler
2024-12-24 15:03 ` jgart via Guix-patches via
2024-12-24 15:13 ` jgart via Guix-patches via
2024-12-24 18:11 ` Liliana Marie Prikler
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.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).