Skip to content

rpm & repository for Fedora Linux #229

Closed

Description

@fnkr
No description provided.

Activity

  1. mackenza commented on Nov 21, 2015

    @mackenza

    see #269 for further discussion on this

  2. jwulf commented on Nov 22, 2015

    @jwulf

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

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

  3. ncoghlan commented on Nov 23, 2015

    @ncoghlan

    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

  4. 1dot75cm commented on Nov 25, 2015

    @1dot75cm

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

  5. bgse commented on Dec 10, 2015

    @bgse
    Contributor

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

  6. bgse commented on Dec 10, 2015

    @bgse
    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.

  7. changed the title [-][Feature Request] rpm & repository for Fedora Linux[/-] [+]rpm & repository for Fedora Linux[/+] on Dec 10, 2015
  8. bgse commented on Dec 13, 2015

    @bgse
    Contributor

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

  9. 1dot75cm commented on Dec 13, 2015

    @1dot75cm

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

  10. 40 remaining items

  11. ismail commented on Feb 20, 2017

    @ismail

    Daniel Imms (@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
    
    
  12. LenzGr commented on Feb 20, 2017

    @LenzGr

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

  13. LenzGr commented on Feb 20, 2017

    @LenzGr

    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!
    
  14. LenzGr commented on Feb 20, 2017

    @LenzGr

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

  15. Tyriar commented on Feb 20, 2017

    @Tyriar
    Contributor

    Lenz Grimmer (@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.

  16. bgse commented on Feb 20, 2017

    @bgse
    Contributor

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

  17. LenzGr commented on Feb 21, 2017

    @LenzGr

    Daniel Imms (@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. ;)

  18. ncoghlan commented on Feb 23, 2017

    @ncoghlan

    I can confirm Lenz Grimmer (@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.

  19. iavael commented on Feb 23, 2017

    @iavael

    Alyssa Coghlan (@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

  20. Tyriar commented on Mar 1, 2017

    @Tyriar
    Contributor

    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 😃

  21. hughsie commented on Mar 8, 2017

    @hughsie

    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!

  22. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinstall-updateVS Code installation and upgrade system issueslinuxIssues with VS Code on Linux

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions