cf-targets-plugin
cf-targets-plugin copied to clipboard
Added osx arm64 support
Added support arm64 and tested with cf7 and upgraded to go 1.19
Is the current lack of Darwin arm64 support the cause for this?
cf install-plugin Targets -r CF-Community zsh 100 19:37:17
Searching CF-Community for plugin Targets...
Plugin Targets 1.2.0 found in: CF-Community
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin Targets? [yN]: y
Starting download of plugin binary from repository CF-Community...
9.13 MiB / 9.13 MiB [======================================================================================================================================] 100.00% 0s
signal: segmentation fault
File is not a valid cf CLI plugin binary.
FAILED
@guidowb Can you review this one, please?
Hi @piejanssens , @guidowb
I got same issue :
i061653@MacBookPro Downloads % cf install-plugin /Users/i061653/Downloads/cf-targets-plugin Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk. Do you want to install the plugin /Users/i061653/Downloads/cf-targets-plugin? [yN]: y signal: segmentation fault File is not a valid cf CLI plugin binary. FAILED i061653@MacBookPro Downloads % system_profiler SPSoftwareDataType SPHardwareDataType Software:
System Software Overview: System Version: macOS 13.0.1 (22A400) Kernel Version: Darwin 22.1.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: D42YFT6DF7 User Name: I061653 (i061653) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 3 days, 39 minutes
Hardware:
Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro18,1 Model Number: MK183CH/A Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 8419.41.10 OS Loader Version: 8419.41.10 Serial Number (system): D42YFT6DF7 Hardware UUID: 8D16055B-7CFA-53C5-996C-9F925833AFE0 Provisioning UDID: 00006000-001818621AD2801E Activation Lock Status: Disabled
You need to build from the source since arm64 does not exist in the repo.
On Thu, Dec 8, 2022 at 1:48 AM Wei Sensen @.***> wrote:
Hi @piejanssens https://github.com/piejanssens , @guidowb https://github.com/guidowb
I got same issue : [image: image] https://user-images.githubusercontent.com/8147601/206414260-63095c4e-bbc1-4157-94c1-f1ee22fd5d91.png
@.*** Downloads % cf install-plugin /Users/i061653/Downloads/cf-targets-plugin Attention: Plugins are binaries written by potentially untrusted authors. Install and use plugins at your own risk. Do you want to install the plugin /Users/i061653/Downloads/cf-targets-plugin? [yN]: y signal: segmentation fault File is not a valid cf CLI plugin binary. FAILED @.*** Downloads % system_profiler SPSoftwareDataType SPHardwareDataType Software:
System Software Overview:
System Version: macOS 13.0.1 (22A400) Kernel Version: Darwin 22.1.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: D42YFT6DF7 User Name: I061653 (i061653) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 3 days, 39 minutes
Hardware:
Hardware Overview:
Model Name: MacBook Pro Model Identifier: MacBookPro18,1 Model Number: MK183CH/A Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 16 GB System Firmware Version: 8419.41.10 OS Loader Version: 8419.41.10 Serial Number (system): D42YFT6DF7 Hardware UUID: 8D16055B-7CFA-53C5-996C-9F925833AFE0 Provisioning UDID: 00006000-001818621AD2801E Activation Lock Status: Disabled
— Reply to this email directly, view it on GitHub https://github.com/guidowb/cf-targets-plugin/pull/22#issuecomment-1342391270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI6CKFZQXMZ4IIVI4XNSQLWMGVFZANCNFSM6AAAAAAQB4YY4Q . You are receiving this because you authored the thread.Message ID: @.***>
-- Norman Abramovitz Technical Director 888 7th Avenue, New York, NY 10106 @.*** www.qarik.com https://535720725-atari-embeds.googleusercontent.com/embeds/16cb204cf3a9d4d223a0a3fd8b0eec5d/www.qarik.com
https://www.facebook.com/qarikgroup https://twitter.com/qarikgroup https://www.instagram.com/qarikgroup/ https://www.linkedin.com/company/qarik/
osx-arm64 build: cf-targets-plugin.zip
$ cf install-plugin cf-targets-plugin
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin cf-targets-plugin? [yN]: y
Installing plugin cf-targets...
OK
Plugin cf-targets 1.2.0 successfully installed.
Is there a way to get this change merged or request any additional changes to complete the integration so that the osx arm plugin is also available?
@guidowb would you be willing to hand over the repo or move this to an org?
@piejanssens I forked my repo to cloudfoundry community and made releases of the binaries there. I have yet to contact the maintainers of cli-plugin-repo to find out how to deal with what seems to be abandoned repos.