rpm & repository for Fedora Linux #229

Closed
fnkr opened this Issue Nov 19, 2015 · 44 comments

Comments

Projects
None yet
@fnkr

fnkr commented Nov 19, 2015

No description provided.

@mackenza

This comment has been minimized.

Show comment
Hide comment
@mackenza

mackenza Nov 21, 2015

see #269 for further discussion on this

see #269 for further discussion on this

@jwulf

This comment has been minimized.

Show comment
Hide comment
@jwulf

jwulf Nov 22, 2015

You could maintain the package and have it in the main Fedora repository:

https://fedoraproject.org/wiki/Packaging:Guidelines

jwulf commented Nov 22, 2015

You could maintain the package and have it in the main Fedora repository:

https://fedoraproject.org/wiki/Packaging:Guidelines

@ncoghlan

This comment has been minimized.

Show comment
Hide comment
@ncoghlan

ncoghlan Nov 23, 2015

For a relatively standalone application like this, a COPR repo would likely be a better fit than the main Fedora package repos: https://developer.fedoraproject.org/deployment/copr/about.html

For a relatively standalone application like this, a COPR repo would likely be a better fit than the main Fedora package repos: https://developer.fedoraproject.org/deployment/copr/about.html

@joaomoreno joaomoreno self-assigned this Nov 23, 2015

@1dot75cm

This comment has been minimized.

Show comment
Hide comment
@1dot75cm

1dot75cm Nov 25, 2015

I just packaged vscode. Can you help me test it? @fnkr
https://copr.fedoraproject.org/coprs/mosquito/vscode/

I just packaged vscode. Can you help me test it? @fnkr
https://copr.fedoraproject.org/coprs/mosquito/vscode/

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Dec 10, 2015

Contributor

Edit: Ignore this comment, apparently I've managed to consistently misspell mosquito quite many times... sorry for the inconvenience.

Contributor

bgse commented Dec 10, 2015

Edit: Ignore this comment, apparently I've managed to consistently misspell mosquito quite many times... sorry for the inconvenience.

@egamma egamma modified the milestone: Backlog Dec 10, 2015

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Dec 10, 2015

Contributor

Works fine, installs without any apparent issues.

I see you've decided to go for 'vscode' as command instead of 'Code' or 'code', this had me confused at first but I actually like it, I've always felt that 'code' was a little ambiguous to have in my path.

Contributor

bgse commented Dec 10, 2015

Works fine, installs without any apparent issues.

I see you've decided to go for 'vscode' as command instead of 'Code' or 'code', this had me confused at first but I actually like it, I've always felt that 'code' was a little ambiguous to have in my path.

@egamma egamma changed the title from [Feature Request] rpm & repository for Fedora Linux to rpm & repository for Fedora Linux Dec 10, 2015

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Dec 13, 2015

Contributor

@1dot75cm Tested on F21 and F23, looking good so far.

Contributor

bgse commented Dec 13, 2015

@1dot75cm Tested on F21 and F23, looking good so far.

@1dot75cm

This comment has been minimized.

Show comment
Hide comment
@1dot75cm

1dot75cm Dec 13, 2015

Thanks test. @bgse
In fact, I refuse to 'Shift' key. My little finger is very fragile. :)))))))))

Thanks test. @bgse
In fact, I refuse to 'Shift' key. My little finger is very fragile. :)))))))))

@1dot75cm

This comment has been minimized.

Show comment
Hide comment
@1dot75cm

1dot75cm Feb 28, 2016

Hi, @bgse
I try to stripping electron from vscode package (1. rpm size reduced to 4.2 MiB; 2. share electron binary files). But the vscode do not support electron 0.36.x. It return following error.

RPM spec: http://copr-dist-git.fedorainfracloud.org/cgit/mosquito/test/vscode.git/tree/vscode.spec?id=17ce85d650470e023ff37e7412d62c5aa222b304
RPM: https://copr.fedorainfracloud.org/coprs/mosquito/test/build/163492/

Version 0.10.11
Commit 8b7f21e10bf69745bde4330a337e9501972e983b
Shell 0.36.8
Renderer 47.0.2526.110
Node 5.1.1
$ dnf install https://copr-be.cloud.fedoraproject.org/results/mosquito/test/fedora-23-x86_64/00163492-vscode/vscode-0.10.11-1.fc23.x86_64.rpm
$ export ELECTRON_ENABLE_LOGGING=1
$ export ELECTRON_ENABLE_STACK_DUMPING=1
$ electron /usr/lib64/vscode
[6978:0227/175217:INFO:CONSOLE(133360)] "IRequestService.makeRequest: Url is required.: Error: IRequestService.makeRequest: Url is required.
    at RequestService.makeRequest (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:137627:23)
    at GalleryService.queryCache (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121102:40)
    at GalleryService.query (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121057:30)
    at ExtensionTipsService._getAvailableExtensions (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92773:41)
    at ExtensionTipsService._init (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92735:46)
    at new ExtensionTipsService (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92705:18)
    at create (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:5252:14)
    at file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61565:45
    at AccessLock.runUnlocked (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61393:24)
    at ServicesMap.createInstance (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61564:31)", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (133360)
......
[6978:0227/175219:INFO:CONSOLE(109401)] "%c[Plugin Host]", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (109401)

I think, we needs to solve this problem for Linux platform. However, the PR is marked as cla-not-required. @bpasero

Hi, @bgse
I try to stripping electron from vscode package (1. rpm size reduced to 4.2 MiB; 2. share electron binary files). But the vscode do not support electron 0.36.x. It return following error.

RPM spec: http://copr-dist-git.fedorainfracloud.org/cgit/mosquito/test/vscode.git/tree/vscode.spec?id=17ce85d650470e023ff37e7412d62c5aa222b304
RPM: https://copr.fedorainfracloud.org/coprs/mosquito/test/build/163492/

Version 0.10.11
Commit 8b7f21e10bf69745bde4330a337e9501972e983b
Shell 0.36.8
Renderer 47.0.2526.110
Node 5.1.1
$ dnf install https://copr-be.cloud.fedoraproject.org/results/mosquito/test/fedora-23-x86_64/00163492-vscode/vscode-0.10.11-1.fc23.x86_64.rpm
$ export ELECTRON_ENABLE_LOGGING=1
$ export ELECTRON_ENABLE_STACK_DUMPING=1
$ electron /usr/lib64/vscode
[6978:0227/175217:INFO:CONSOLE(133360)] "IRequestService.makeRequest: Url is required.: Error: IRequestService.makeRequest: Url is required.
    at RequestService.makeRequest (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:137627:23)
    at GalleryService.queryCache (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121102:40)
    at GalleryService.query (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:121057:30)
    at ExtensionTipsService._getAvailableExtensions (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92773:41)
    at ExtensionTipsService._init (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92735:46)
    at new ExtensionTipsService (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:92705:18)
    at create (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:5252:14)
    at file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61565:45
    at AccessLock.runUnlocked (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61393:24)
    at ServicesMap.createInstance (file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js:61564:31)", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (133360)
......
[6978:0227/175219:INFO:CONSOLE(109401)] "%c[Plugin Host]", source: file:////usr/lib64/vscode/out/vs/workbench/workbench.main.js (109401)

I think, we needs to solve this problem for Linux platform. However, the PR is marked as cla-not-required. @bpasero

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Feb 28, 2016

Contributor

@1dot75cm The cla-not-required label just means the contributor does not need to sign a license agreement, for example when it is a small change, in the case of @bpasero because he's Microsoft.

I'm sure it's pretty high up on the agenda though.

Contributor

bgse commented Feb 28, 2016

@1dot75cm The cla-not-required label just means the contributor does not need to sign a license agreement, for example when it is a small change, in the case of @bpasero because he's Microsoft.

I'm sure it's pretty high up on the agenda though.

@1dot75cm

This comment has been minimized.

Show comment
Hide comment
@1dot75cm

1dot75cm Mar 8, 2016

Just now, I try to update electron to 0.36.10. It seems to work fine. How to conduct a comprehensive test? @bgse

Version 0.10.10
Commit 97d4ad1c55a82369f65078406ed770e8a34055fc
Date 2016-03-07T21:55:23.885Z
Shell 0.36.10
Renderer 47.0.2526.110
Node 5.1.1

https://copr.fedorainfracloud.org/coprs/mosquito/vscode/build/166475/

1dot75cm commented Mar 8, 2016

Just now, I try to update electron to 0.36.10. It seems to work fine. How to conduct a comprehensive test? @bgse

Version 0.10.10
Commit 97d4ad1c55a82369f65078406ed770e8a34055fc
Date 2016-03-07T21:55:23.885Z
Shell 0.36.10
Renderer 47.0.2526.110
Node 5.1.1

https://copr.fedorainfracloud.org/coprs/mosquito/vscode/build/166475/

@Tyriar Tyriar self-assigned this Mar 8, 2016

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Mar 8, 2016

Member

FYI an official rpm file is going to be provided with the March release #3595, the repository will likely come later.

Member

Tyriar commented Mar 8, 2016

FYI an official rpm file is going to be provided with the March release #3595, the repository will likely come later.

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Mar 9, 2016

Contributor

@1dot75cm I've tried updating to the latest F23 build, but didn't get far, dnf skipped the package due to dependency issues. Might be able to investigate more towards the weekend.

Contributor

bgse commented Mar 9, 2016

@1dot75cm I've tried updating to the latest F23 build, but didn't get far, dnf skipped the package due to dependency issues. Might be able to investigate more towards the weekend.

Tyriar added a commit that referenced this issue Mar 31, 2016

Tyriar added a commit that referenced this issue Apr 1, 2016

Add yum repository registration
This is currently disabled until the repo is signed

Part of #229

Tyriar added a commit that referenced this issue Apr 4, 2016

Tyriar added a commit that referenced this issue Apr 4, 2016

Add yum repository registration
This is currently disabled until the repo is signed

Part of #229

@egamma egamma referenced this issue Apr 4, 2016

Closed

April Iteration Plan #4888

63 of 68 tasks complete
@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Apr 22, 2016

Member

Signing the repo pushed to May.

Member

Tyriar commented Apr 22, 2016

Signing the repo pushed to May.

@Tyriar Tyriar modified the milestones: May 2016, Backlog Apr 22, 2016

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar May 23, 2016

Member

Still waiting on signing.

Member

Tyriar commented May 23, 2016

Still waiting on signing.

@Tyriar Tyriar added this to the June 2016 milestone May 23, 2016

@iavael

This comment has been minimized.

Show comment
Hide comment
@iavael

iavael Sep 9, 2016

@mcepl Sorry, if my words looked rough, I'm not very good in english. And some of you ideas (e.g. moving code.repo.rpmnew to code.repo unconditionally) were strange and could make user experience even worser than just writing repo file in package script directly.

iavael commented Sep 9, 2016

@mcepl Sorry, if my words looked rough, I'm not very good in english. And some of you ideas (e.g. moving code.repo.rpmnew to code.repo unconditionally) were strange and could make user experience even worser than just writing repo file in package script directly.

@mcepl

This comment has been minimized.

Show comment
Hide comment
@mcepl

mcepl Sep 9, 2016

@iavael don't worry about rough (I am a Czech myself, so English is my second/third language as well). I just though that my idea was less brutal than yours proposal in #229 (comment) . However, more and more I am looking at VS Code less I like it, so I don't care that much anyway.

mcepl commented Sep 9, 2016

@iavael don't worry about rough (I am a Czech myself, so English is my second/third language as well). I just though that my idea was less brutal than yours proposal in #229 (comment) . However, more and more I am looking at VS Code less I like it, so I don't care that much anyway.

@kieferrm kieferrm referenced this issue Sep 13, 2016

Closed

September Iteration Plan #11917

186 of 220 tasks complete
@ismail

This comment has been minimized.

Show comment
Hide comment
@ismail

ismail Oct 5, 2016

It should also support openSUSE, Chrome on Linux does this.

ismail commented Oct 5, 2016

It should also support openSUSE, Chrome on Linux does this.

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Nov 23, 2016

Member

Update: SQL Server for Linux is now being shipped on the new Microsoft Linux repositories that we've been waiting on. I should have access soon to start integrating it into our build process 🎉

See https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-ubuntu and https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-red-hat for an idea of what's going to be available.

Member

Tyriar commented Nov 23, 2016

Update: SQL Server for Linux is now being shipped on the new Microsoft Linux repositories that we've been waiting on. I should have access soon to start integrating it into our build process 🎉

See https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-ubuntu and https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-red-hat for an idea of what's going to be available.

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Dec 2, 2016

Member

I have some more information on the system now, unlike with .deb files, .rpm signing is not fully automated yet. As such we will not be able to ship .rpm to Insiders builds until that is automated (I was told the ETA is mid-2017). We will probably manually sign for stable builds though as there are only 2-3 in a typical month, expect this to come around the same time as .deb packages start shipping to stable.

Member

Tyriar commented Dec 2, 2016

I have some more information on the system now, unlike with .deb files, .rpm signing is not fully automated yet. As such we will not be able to ship .rpm to Insiders builds until that is automated (I was told the ETA is mid-2017). We will probably manually sign for stable builds though as there are only 2-3 in a typical month, expect this to come around the same time as .deb packages start shipping to stable.

@ismail

This comment has been minimized.

Show comment
Hide comment
@ismail

ismail Dec 3, 2016

Please also don't forget about openSUSE/zypper support.

ismail commented Dec 3, 2016

Please also don't forget about openSUSE/zypper support.

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Feb 19, 2017

Member

A yum repo is now available for stable only, insiders needs to wait until our signing story is automated. Here are the key links:

This is how you can install using yum:

# Install key
wget -O- -q https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
sudo rpm --import microsoft.asc
# Install repo
​​sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
# Update yum's cache
yum check-update
# Install
sudo yum install code

Please test it out and let me know how it goes.

Follow ups

  • I created Microsoft/vscode-docs#850 to follow up documenting this on the website, if anyone wants to help by providing non-yum/dnf instructions that would be helpful.
  • Ideally the repo would detect the package manager and be installed automatically when installing the .rpm #20895
Member

Tyriar commented Feb 19, 2017

A yum repo is now available for stable only, insiders needs to wait until our signing story is automated. Here are the key links:

This is how you can install using yum:

# Install key
wget -O- -q https://packages.microsoft.com/keys/microsoft.asc > microsoft.asc
sudo rpm --import microsoft.asc
# Install repo
​​sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
# Update yum's cache
yum check-update
# Install
sudo yum install code

Please test it out and let me know how it goes.

Follow ups

  • I created Microsoft/vscode-docs#850 to follow up documenting this on the website, if anyone wants to help by providing non-yum/dnf instructions that would be helpful.
  • Ideally the repo would detect the package manager and be installed automatically when installing the .rpm #20895

@Tyriar Tyriar closed this Feb 19, 2017

@Tyriar Tyriar modified the milestones: February 2017, Backlog Feb 19, 2017

@jrick

This comment has been minimized.

Show comment
Hide comment
@jrick

jrick Feb 19, 2017

@Tyriar appears to work (tested with dnf on F25) although your example to install the repo is missing a double quote.

jrick commented Feb 19, 2017

@Tyriar appears to work (tested with dnf on F25) although your example to install the repo is missing a double quote.

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Feb 19, 2017

Member

@jrick fixed, thanks 😅

Member

Tyriar commented Feb 19, 2017

@jrick fixed, thanks 😅

@ismail

This comment has been minimized.

Show comment
Hide comment
@ismail

ismail Feb 20, 2017

Should I open a new bug to create an openSUSE repo?

ismail commented Feb 20, 2017

Should I open a new bug to create an openSUSE repo?

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Feb 20, 2017

Member

@ismail you should be able to use this repo, I'm hoping someone familiar with zypper can suggest the right script based on the yum one above.

Member

Tyriar commented Feb 20, 2017

@ismail you should be able to use this repo, I'm hoping someone familiar with zypper can suggest the right script based on the yum one above.

@ismail

This comment has been minimized.

Show comment
Hide comment
@ismail

ismail Feb 20, 2017

@Tyriar you are right, after installing the Microsoft signing key, just put a vscode.repo file under /etc/zypp/repos.d with the content

[vscode]
name=vscode
enabled=1
autorefresh=1
baseurl=https://packages.microsoft.com/yumrepos/vscode/
type=rpm-md
keeppackages=0

ismail commented Feb 20, 2017

@Tyriar you are right, after installing the Microsoft signing key, just put a vscode.repo file under /etc/zypp/repos.d with the content

[vscode]
name=vscode
enabled=1
autorefresh=1
baseurl=https://packages.microsoft.com/yumrepos/vscode/
type=rpm-md
keeppackages=0

@LenzGr

This comment has been minimized.

Show comment
Hide comment
@LenzGr

LenzGr Feb 20, 2017

@Tyriar rpm can actually import the GPG key via http directly, simply run:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

LenzGr commented Feb 20, 2017

@Tyriar rpm can actually import the GPG key via http directly, simply run:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

@LenzGr

This comment has been minimized.

Show comment
Hide comment
@LenzGr

LenzGr Feb 20, 2017

Turns out the GPG key import can be skipped altogether, if the .repo file contains the key's URL in the gpgkey configuration variable. dnf install code will notice that the key is missing and prompts the user about downloading it:

Downloading Packages:
code-1.9.1-1486597190.el7.x86_64.rpm                                                                                                                           1.9 MB/s |  50 MB     00:26    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                          1.9 MB/s |  50 MB     00:26     
warning: /var/cache/dnf/code-1a27fa61fdd77ffb/packages/code-1.9.1-1486597190.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
Importing GPG key 0xBE1229CF:
 Userid     : "Microsoft (Release signing) <gpgsecurity@microsoft.com>"
 Fingerprint: BC52 8686 B50D 79E3 39D3 721C EB3E 94AD BE12 29CF
 From       : https://packages.microsoft.com/keys/microsoft.asc
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : code-1.9.1-1486597190.el7.x86_64                                                                                                                                           1/1 
  Verifying   : code-1.9.1-1486597190.el7.x86_64                                                                                                                                           1/1 

Installed:
  code.x86_64 1.9.1-1486597190.el7                                                                                                                                                             

Complete!

LenzGr commented Feb 20, 2017

Turns out the GPG key import can be skipped altogether, if the .repo file contains the key's URL in the gpgkey configuration variable. dnf install code will notice that the key is missing and prompts the user about downloading it:

Downloading Packages:
code-1.9.1-1486597190.el7.x86_64.rpm                                                                                                                           1.9 MB/s |  50 MB     00:26    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                          1.9 MB/s |  50 MB     00:26     
warning: /var/cache/dnf/code-1a27fa61fdd77ffb/packages/code-1.9.1-1486597190.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY
Importing GPG key 0xBE1229CF:
 Userid     : "Microsoft (Release signing) <gpgsecurity@microsoft.com>"
 Fingerprint: BC52 8686 B50D 79E3 39D3 721C EB3E 94AD BE12 29CF
 From       : https://packages.microsoft.com/keys/microsoft.asc
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : code-1.9.1-1486597190.el7.x86_64                                                                                                                                           1/1 
  Verifying   : code-1.9.1-1486597190.el7.x86_64                                                                                                                                           1/1 

Installed:
  code.x86_64 1.9.1-1486597190.el7                                                                                                                                                             

Complete!
@LenzGr

This comment has been minimized.

Show comment
Hide comment
@LenzGr

LenzGr Feb 20, 2017

I wrote a short HOWTO for Fedora (and other yum-based distributions): Installing Microsoft Visual Studio Code on Fedora Linux

LenzGr commented Feb 20, 2017

I wrote a short HOWTO for Fedora (and other yum-based distributions): Installing Microsoft Visual Studio Code on Fedora Linux

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Feb 20, 2017

Member

@LenzGr Apparently dnf understands yum repos, that's cool! That's pretty similar to the setup for the apt repo, see #2973 (comment)

Not sure it would work with plain yum though on older OS's.

Member

Tyriar commented Feb 20, 2017

@LenzGr Apparently dnf understands yum repos, that's cool! That's pretty similar to the setup for the apt repo, see #2973 (comment)

Not sure it would work with plain yum though on older OS's.

@bgse

This comment has been minimized.

Show comment
Hide comment
@bgse

bgse Feb 20, 2017

Contributor

@Tyriar Should work, my guess is that something else will break on a 10 year old distro before yum refuses to play.

Contributor

bgse commented Feb 20, 2017

@Tyriar Should work, my guess is that something else will break on a 10 year old distro before yum refuses to play.

@LenzGr

This comment has been minimized.

Show comment
Hide comment
@LenzGr

LenzGr Feb 21, 2017

@Tyriar dnf is actually the "next upcoming major version of yum" (according to the man page), so this should not be surprising ;)

And SUSE's zypper is capable to work with plain yum repos as well. Less work on your end. ;)

LenzGr commented Feb 21, 2017

@Tyriar dnf is actually the "next upcoming major version of yum" (according to the man page), so this should not be surprising ;)

And SUSE's zypper is capable to work with plain yum repos as well. Less work on your end. ;)

@Tyriar Tyriar referenced this issue Feb 21, 2017

Closed

Test: apt and yum repos #21022

2 of 2 tasks complete

@Tyriar Tyriar added the on-testplan label Feb 21, 2017

@ncoghlan

This comment has been minimized.

Show comment
Hide comment
@ncoghlan

ncoghlan Feb 23, 2017

I can confirm @LenzGr's variant works for dnf. I'm not sure older versions of yum have the automatic GPG key import feature though, so it probably makes sense to keep that step separate in any yum-specific docs.

I can confirm @LenzGr's variant works for dnf. I'm not sure older versions of yum have the automatic GPG key import feature though, so it probably makes sense to keep that step separate in any yum-specific docs.

@iavael

This comment has been minimized.

Show comment
Hide comment
@iavael

iavael Feb 23, 2017

@ncoghlan

I'm not sure older versions of yum have the automatic GPG key import feature though

yum had this feature for a long time

iavael commented Feb 23, 2017

@ncoghlan

I'm not sure older versions of yum have the automatic GPG key import feature though

yum had this feature for a long time

@Tyriar

This comment has been minimized.

Show comment
Hide comment
@Tyriar

Tyriar Mar 1, 2017

Member

Thanks for the help everyone!

If anyone would like to contribute tested instructions similar to the the new RHEL install section for zypper (use heading "openSUSE and SLE based distributions") that would be awesome. This could be done via a PR to the vnext branch of vscode-docs 😃

Member

Tyriar commented Mar 1, 2017

Thanks for the help everyone!

If anyone would like to contribute tested instructions similar to the the new RHEL install section for zypper (use heading "openSUSE and SLE based distributions") that would be awesome. This could be done via a PR to the vnext branch of vscode-docs 😃

@hughsie

This comment has been minimized.

Show comment
Hide comment
@hughsie

hughsie Mar 8, 2017

Would it be possible to export the AppStream metadata on this repo too? This will make the app show up in the software center when the repo is installed. See https://blogs.gnome.org/hughsie/2016/04/27/3rd-party-fedora-repositories-and-appstream/ for the fix. Please yell if you have any questions or worries. Thanks!

hughsie commented Mar 8, 2017

Would it be possible to export the AppStream metadata on this repo too? This will make the app show up in the software center when the repo is installed. See https://blogs.gnome.org/hughsie/2016/04/27/3rd-party-fedora-repositories-and-appstream/ for the fix. Please yell if you have any questions or worries. Thanks!

@Microsoft Microsoft locked and limited conversation to collaborators Nov 18, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.