vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Distribute VS Code via a signed apt repository

Open Tyriar opened this issue 10 years ago • 52 comments

This would make auto-updating possible on Debian-based OS's.

Tyriar avatar Feb 12 '16 17:02 Tyriar

Unfortunately it doesn't look like the signing will be up in time for the release, pushing to April. /cc @joaomoreno

Tyriar avatar Mar 17 '16 15:03 Tyriar

Signatures are always a lengthy process...

It's enough if we get the debs and rpms out the door.

joaomoreno avatar Mar 17 '16 22:03 joaomoreno

does this one cover rpm repository as well, or should I create a new issue?

typekpb avatar Apr 15 '16 08:04 typekpb

Being pushed to May.

Tyriar avatar Apr 22 '16 20:04 Tyriar

@typekpb https://github.com/Microsoft/vscode/issues/229 is tracking the rpm/yum repo.

Tyriar avatar Apr 22 '16 20:04 Tyriar

Still waiting on signing.

Tyriar avatar May 23 '16 20:05 Tyriar

Finally progress is being made on this, I'll be going to a meeting towards the end of the month which should give the way forward :+1:

As such, it will likely come in July as the meeting occurs during the test/end game week.

Tyriar avatar Jun 07 '16 02:06 Tyriar

Will the repo include the insider builds?

lijunle avatar Jun 19 '16 09:06 lijunle

@lijunle the insiders build will be available via repo yes.

Tyriar avatar Jun 19 '16 22:06 Tyriar

So ... Will the repo be available in July ? It's near the end of month ... :)

dnt294 avatar Jul 23 '16 08:07 dnt294

Nope but it should be coming soon, need to be patient unfortunately :frowning:

Tyriar avatar Jul 23 '16 20:07 Tyriar

Please consider adding a check on whether we want or not for the apt repository source list to be created, otherwise it would be a really messy to use something like Ansible/Puppet in order to automate installations.

Currently it's just erasing and creating the conf again: https://github.com/Microsoft/vscode/commit/d624636afe4676835b2f313efd884f711599f3b9

Something like this (similar to what chrome/dropbox does):

DEFAULTS_FILE="/etc/default/vscode"

if [ -f "${DEFAULTS_FILE}" ]; then
    return
fi

edgard avatar Aug 02 '16 00:08 edgard

Auto updated PPA for ubuntu based on official vscode deb's https://github.com/tagplus5/vscode-ppa

tagplus5 avatar Sep 22 '16 19:09 tagplus5

I'm packaging released tgz in my OBS repo for Ubuntu/Debian. It can be used as intermediate solution as well

artem-sidorenko avatar Oct 11 '16 12:10 artem-sidorenko

Is there any word on getting the apt repo signed?

sudopluto avatar Nov 01 '16 01:11 sudopluto

Add to concerns - any chance to make it until Debian freeze? Not sure how this happens, but I believe the "no new packages" is the deadline, namely: 2017-01-05.

carl-di-ortus avatar Nov 04 '16 08:11 carl-di-ortus

@carl-di-ortus that only concerns official debian packages, not unofficial repositories...

n00dl3 avatar Nov 04 '16 08:11 n00dl3

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 :tada:

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 avatar Nov 23 '16 06:11 Tyriar

@Tyriar great news! But please do not use apt-key add in your documentation as well. The better usage is to add the (binary) gpg keyring to /etc/apt/trusted.gpg.d:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

fsateler avatar Nov 30 '16 22:11 fsateler

@fsateler any reason that is better? Delegating that to apt seems like the best thing to do, what if they change how it's done in the future?

Tyriar avatar Dec 01 '16 00:12 Tyriar