-
-
Notifications
You must be signed in to change notification settings - Fork 366
feat(Trixie)!: upgrade to debian trixie #351
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
base: develop
Are you sure you want to change the base?
Changes from all commits
d6a304e
95589c2
a4c84e7
b9353e4
4975f98
b65dacc
a4499c5
e412def
a4b2c1f
6ac6402
9ff69cd
43e2113
6e5bb4c
aa851e6
f52f5d5
fdeda40
e111a17
53bd2ea
0f96523
abfc6c5
939fb09
8179aa5
531c960
5167fd5
fa4491e
42b6782
5a2bea7
9c4b1db
a04f61e
ed0f974
95d83b5
9d77f6c
11f3137
2f65df2
52fa314
c011805
bbbd353
02efc2d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 2.2.2 | ||
| 3.0.0-alpha2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,13 +17,9 @@ source /files/00-config | |
| # Configuration # | ||
| ######################################## | ||
|
|
||
| REPO="https://github.com/mainsail-crew/crowsnest.git" | ||
| DEPS=(git) | ||
|
|
||
| INSTALL_SCRIPT="/home/${BASE_USER}/crowsnest/tools/libs/pkglist-generic.sh" | ||
| if [[ "$(is_raspbian)" = "1" ]]; then | ||
| INSTALL_SCRIPT="/home/${BASE_USER}/crowsnest/tools/libs/pkglist-rpi.sh" | ||
| fi | ||
| REPO="https://github.com/mryel00/crowsnest-dev.git" | ||
| BRANCH="pynest" | ||
|
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Step 1: Verify repository and branch existence
echo "=== Checking mryel00/crowsnest-dev repository ==="
REPO_STATUS=$(curl -s -w "\n%{http_code}" "https://api.github.com/repos/mryel00/crowsnest-dev")
HTTP_CODE=$(echo "$REPO_STATUS" | tail -n1)
REPO_DATA=$(echo "$REPO_STATUS" | head -n-1)
echo "HTTP Status: $HTTP_CODE"
if [ "$HTTP_CODE" = "200" ]; then
echo "Repository exists"
echo "$REPO_DATA" | jq -r '.description, .archived, .owner.login' 2>/dev/null | head -3
else
echo "Repository not found or error"
fi
echo ""
echo "=== Checking pynest branch ==="
BRANCH_STATUS=$(curl -s -w "\n%{http_code}" "https://api.github.com/repos/mryel00/crowsnest-dev/branches/pynest")
BRANCH_HTTP_CODE=$(echo "$BRANCH_STATUS" | tail -n1)
BRANCH_DATA=$(echo "$BRANCH_STATUS" | head -n-1)
echo "HTTP Status: $BRANCH_HTTP_CODE"
if [ "$BRANCH_HTTP_CODE" = "200" ]; then
echo "Branch exists"
echo "$BRANCH_DATA" | jq -r '.commit.commit.committer.date, .commit.sha' 2>/dev/null
else
echo "Branch not found or error"
fiRepository: mainsail-crew/MainsailOS Length of output: 324 🏁 Script executed: # Step 2: Check the actual file to confirm the changes
echo "=== Checking actual file content ==="
if [ -f "modules/generic/53-crowsnest" ]; then
echo "File exists. Checking lines 20-21:"
sed -n '15,25p' modules/generic/53-crowsnest
else
echo "File not found at modules/generic/53-crowsnest"
fiRepository: mainsail-crew/MainsailOS Length of output: 426 🏁 Script executed: # Step 3: Get context around line 35 to verify git clone command
echo "=== Checking git clone usage around line 35 ==="
if [ -f "modules/generic/53-crowsnest" ]; then
sed -n '30,40p' modules/generic/53-crowsnest
fiRepository: mainsail-crew/MainsailOS Length of output: 505 Using a personal fork and development branch in production configuration. The repository was changed from the official
If this is temporary work for Trixie compatibility being upstreamed, add a TODO comment with a timeline for switching back to the official repository. Additionally, the git clone command uses unquoted variables: 🤖 Prompt for AI Agents |
||
| DEPS=(git make) | ||
meteyou marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ######################################## | ||
| # Install System Packages # | ||
|
|
@@ -36,22 +32,9 @@ apt-get install --yes "${DEPS[@]}" | |
| ######################################## | ||
|
|
||
| pushd "/home/${BASE_USER}" &> /dev/null || exit 1 | ||
| sudo -u "${BASE_USER}" git clone ${REPO} crowsnest | ||
| sudo -u "${BASE_USER}" git clone ${REPO} crowsnest -b ${BRANCH} | ||
| popd &> /dev/null || exit 1 | ||
meteyou marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ######################################## | ||
| # Installation Crowsnest Dependencies # | ||
| ######################################## | ||
|
|
||
| PKGLIST=$( | ||
| # shellcheck disable=SC1090 | ||
| source "$INSTALL_SCRIPT" | ||
| echo "$PKGLIST" | ||
| ) | ||
| # convert string to array | ||
| read -ra PKGARRAY <<< "$PKGLIST" | ||
| apt-get install --yes "${PKGARRAY[@]}" | ||
|
|
||
| ######################################## | ||
| # Installation Crowsnest # | ||
| ######################################## | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.