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

Migrate to new deb repo #114527

Merged
merged 2 commits into from
Jan 18, 2021
Merged

Migrate to new deb repo #114527

merged 2 commits into from
Jan 18, 2021

Conversation

joaomoreno
Copy link
Member

Related to #106473

cc @Tyriar

@joaomoreno joaomoreno added this to the January 2021 milestone Jan 18, 2021
@joaomoreno joaomoreno self-assigned this Jan 18, 2021
@joaomoreno joaomoreno added the linux Issues with VS Code on Linux label Jan 18, 2021
Comment on lines -98 to -102
.pipe(replace('@@ARCHITECTURE@@', debArch))
.pipe(replace('@@QUALITY@@', product.quality || '@@QUALITY@@'))
.pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@'))
.pipe(replace('@@REPOSITORY_NAME@@', arch === 'x64' ? 'vscode' : 'code'))
.pipe(replace('@@SUPPORTED_ARCHITECTURES@@', arch === 'x64' ? 'amd64' : 'amd64,arm64,armhf'))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tyriar None of these were being used.

# Write source list if it was disabled by OS upgrade
WRITE_SOURCE=1
fi
if [ "$WRITE_SOURCE" -eq "1" ]; then
echo "### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=@@SUPPORTED_ARCHITECTURES@@] http://packages.microsoft.com/repos/@@REPOSITORY_NAME@@ stable main" > $CODE_SOURCE_PART
deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main" > $CODE_SOURCE_PART
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tyriar Any specific reason why we're using http here instead of https?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, supporting https requires additional packages from being installs and package integrity is covered by the signing. When I tried to change this earlier I got push back from community because of this, since then I've also had other people try changing it to https 🤷

@joaomoreno joaomoreno merged commit 09bc6fc into master Jan 18, 2021
@joaomoreno joaomoreno deleted the joao/deb-repo-migration branch January 18, 2021 13:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
linux Issues with VS Code on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants