Skip to content

Feature add script for gitlab - #773

Open
LiuLikeQian wants to merge 47 commits into
mainfrom
feature_for_gitlab
Open

Feature add script for gitlab#773
LiuLikeQian wants to merge 47 commits into
mainfrom
feature_for_gitlab

Conversation

@LiuLikeQian

@LiuLikeQian LiuLikeQian commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Feature add script for gitlab,

Uploading 20260825_105729.mp4…

fix gitlab build fail, github build fail bug.

LiuLikeQian and others added 30 commits May 8, 2026 17:10
# Conflicts:
#	scripts/flatpak/io.github.Snapmaker.Snapmaker_Orca.yml
#	src/dev-utils/platform/unix/build_appimage.sh.in
#	src/dev-utils/platform/unix/build_linux_image.sh.in
#	src/mqtt/externals/paho-mqtt-c/src/MQTTPacket.h
LiuLikeQian and others added 17 commits July 13, 2026 17:08
Sub-repos (vendor 460MB, wxWidgets 390MB, sentry 80MB) were
cloned with full history. Adding --depth 1 reduces ~1GB download
to ~220MB and makes CI builds significantly faster.

Co-Authored-By: Claude <noreply@anthropic.com>
…cal clones

- Change vendor & sentry URLs from HTTP to SSH for faster transfer
- Add --reference-if-able to use local cloned repos as object cache
- Use --depth 50 instead of --depth 1 for better incremental fetch

Co-Authored-By: Claude <noreply@anthropic.com>
Sentrys .gitmodules uses HTTP URLs for its 5 submodules (benchmark,
breakpad, crashpad, libunwindstack-ndk, lss). HTTP git clone is very
slow. Now automatically converts them to SSH before submodule update.

Co-Authored-By: Claude <noreply@anthropic.com>
Previous sed fix only handled sentry-native's top-level .gitmodules but
crashpad has 3 nested sub-submodules (lss, mini_chromium, zlib) that
also use HTTP. Using global git url.insteadOf redirects ALL HTTP URLs
across any nesting level, then cleans up after submodule update.

Co-Authored-By: Claude <noreply@anthropic.com>
The gitlab build script cloned Orca-deps-wxWidgets via SSH
(git@gitlab.s.com). The Jenkins service account (LocalSystem) has no
SSH key, so switch to anonymous HTTP (repo is HTTP-readable) to make
CI builds work without SSH credentials.

Co-Authored-By: Claude <noreply@anthropic.com>
gitlab.s.com requires authentication for all git access (not anonymous).
The previous HTTP change was incorrect; the team standard is SSH via
gitlab_b_rsa key. Keep SSH and set up url.insteadOf for the HTTP sub-repos.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant