Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages 'php-auto-yasnippet' and 'phpcbf' in php layer unavailable #14381

Closed
dalanicolai opened this issue Feb 15, 2021 · 7 comments · Fixed by #14581
Closed

Packages 'php-auto-yasnippet' and 'phpcbf' in php layer unavailable #14381

dalanicolai opened this issue Feb 15, 2021 · 7 comments · Fixed by #14581
Assignees

Comments

@dalanicolai
Copy link
Contributor

After installing the php layer, Spacemacs shows messages for php-auto-yasnippet and phpcbf that the packages are unavailable. Both packages have been archived on github (see [phpcbf](https://github.com/nishimaki10/emacs-phpcbf] and [php-auto-yasnippet]9https://github.com/emacs-php/php-auto-yasnippets)), and have been removed from Melpa (I guess both packages where available from Melpa before).
I don't work with php myself (I installed accidentally while using org-thtml, where I probably pressed space when I was prompted for install of the php-layer.), so I don't know if the packages should be removed, or if better their "locations" should get updated.

@smile13241324
Copy link
Collaborator

To be honest if they have been removed from melpa I would vote for removing them from php layer completely. If this breaks major functionality for the emacs based backends we can still change the default to LSP, same as we did for scala.

@dbrw
Copy link

dbrw commented Mar 29, 2021

I use lsp as backend for PHP but still get the same errors.

@dalanicolai
Copy link
Contributor Author

Yeah, I am not touching this layer because I do not use the PHP layer. Hope any PHP user will help with this soon... anyway, you can neglect these errors and/or add those packages to the dotspacemacs-excluded-packages in your dotfile
`

@dbrw
Copy link

dbrw commented Mar 30, 2021

Thanks, my work around was just commented the two packages. Your tip to add those two packages to dotspacemacs-excluded-packages is great to know.

@duianto
Copy link
Contributor

duianto commented Apr 4, 2021

The following PRs changes have been applied to the develop branch:
[+layer/php] Fix missed packages #14581

The two packages are pulled from their archived repositories:
https://github.com/nishimaki10/emacs-phpcbf
https://github.com/emacs-php/php-auto-yasnippets

@stradicat
Copy link
Contributor

stradicat commented Jan 21, 2024

Apparently, the latest develop branch is still looking for the repo when updating packages (I have the PHP layer active):

Updating /Users/stradicat/.emacs.d/.cache/quelpa/build/php-extras/
Fetcher: github
Source: nishimaki10/emacs-phpcbf

Updating /Users/dmayr/.emacs.d/.cache/quelpa/build/phpcbf/
quelpa-checkout: Failed to checkout ‘phpcbf’: ‘Command ’(env LC_ALL=C /usr/local/bin/timeout -k 60 600 git fetch --tags origin)’ exited with non-zero status 128: HEAD is now at 529191d Version 1.70 released
'2024-01-08 17:03:22 +0100'HEAD is now at ae3ead6 Make evil-escape escape from company too
'2023-11-02 20:33:11 +0100'HEAD is now at 3f462c6 Minor amendments for use-package compatibility.
'2021-09-07 08:23:45 +0100'HEAD is now at fb82413 further support rg
'2022-10-06 21:25:30 +0800'HEAD is now at d1e94f5 no summary available
'2019-11-21 17:20:35 +0100'HEAD is now at 5369ece Merge pull request #28 from dmvianna/fix-gar
'2023-09-13 23:41:36 -0400'HEAD is now at 5f0de84 no summary available
'2023-05-29 04:41:26 +0200'HEAD is now at 4e85b25 Use a cached temporary buffer for truncated printing
'2023-09-25 19:46:22 -0300'HEAD is now at 92e1d33 Merge pull request #3 from andreas-marschke/fix-logcat-new-adb-versions
'2018-06-20 15:49:48 -0700'HEAD is now at 04969bb Update documentation
'2015-04-22 21:48:39 -0400'HEAD is now at a904596 Merge branch 'master' of https://github.com/bastibe/org-journal
'2021-04-17 16:12:54 +0200'HEAD is now at 352ab00 Org 9 compatibility
'2016-11-14 09:08:31 -0500'HEAD is now at 03e1f08 [Chore] Update all of the copyright years
'2017-03-30 21:14:31 -0400'HEAD is now at d410c5a Create CONTRIBUTING.md
'2016-05-18 17:16:36 +0200'remote: Repository not found.

fatal: repository 'https://github.com/nishimaki10/emacs-phpcbf.git/' not found

@smile13241324
Copy link
Collaborator

Ups, looks like I have missed this ticket, I will have a look.

@smile13241324 smile13241324 self-assigned this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants