Urgent.News

What's breaking now, across thousands of outlets.

Tech

Gitee repository migration to intranet: synchronizing code, permissions, and how to build after network disconnection

This article explains how to migrate a Gitee repository into the intranet AngusGit and continue building after disconnecting from the external network. After reading this, you can choose to import or git clone --bare and then push based on whether the repository is public or private. Go to Settings → Access and reauthorize with read-only, read-write, or administrator permissions. Prepare the runner image, build image, and dependency proxy in the intranet. First, log in to AngusGit. The following push uses SSH. If you don't have ~/.ssh/id_ed25519.pub on your local machine, run ssh-keygen -t ed25519 -C "you@example.com". Press Enter directly for the path. Copy the line starting with ssh-ed25519 from cat ~/.ssh/id_ed25519.pub and register it to My → SSH Key, then click Add Key. The address is in the format ssh://git@host:2222/owner/repository.git, and the username is git. If you switch to HTTPS, go to My → Access Token, click Generate New Token, and follow the password verification…

Translated from Chinese Read in Chinese

The article provides a guide on how to migrate a Gitee repository to AngusGit, a Git repository management platform, and continue building after disconnecting from the internet. It outlines a three-step process: synchronizing code, allocating permissions, and building without internet access. The guide explains how to import or clone and push repositories, set permissions, and prepare runner images, build images, and dependency agents for offline building. It also addresses common issues that may arise during the migration process.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

High-Performance Ingress & Network Architecture: Building Resilience at Scale

Webhook ingress gateways have to absorb bursty traffic from third-party senders and stay responsive when some of those connections are slow or hostile.

  • Employ HTTP/3 and QUIC for faster, resilient webhook gateways
  • Defend against slow-connection attacks like Slowloris and Slow-Read
  • Use memory-mapped ring buffers to absorb traffic bursts

Move a GitHub project to an internal Git host: import or push, then follow upstream

This article explains how to move a GitHub project onto an intranet AngusGit, whether to import or to push, and how to keep following upstream afterward.

  • Choose import method to move GitHub project, keeping original commit history
  • Clone locally, set GitHub as upstream for pushing with history
  • Create empty AngusGit repository, push main branch and tags from upstream

More from Saturday 31 October →