-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Migrate to new deb repo #114527
Conversation
.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')) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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 🤷
Related to #106473
cc @Tyriar