Skip to content

Commit 588fccc

Browse files
committed
repo: initial repository
Signed-off-by: dopaemon <polarisdp@gmail.com>
0 parents  commit 588fccc

12 files changed

Lines changed: 621 additions & 0 deletions

File tree

.github/workflows/Release.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
13+
- name: Setup Github Repository
14+
run: |
15+
git config --global user.email "polarisdp@gmail.com"
16+
git config --global user.name "dopaemon"
17+
18+
- name: Clone A1 Repository
19+
run: |
20+
git clone --depth=1 https://github.com/CydiaBlock/package_debian_A1.git
21+
22+
- name: Create Packages
23+
run: |
24+
dpkg-scanpackages -m . /dev/null >Packages
25+
26+
- name: Format for Cluster Repo
27+
run: |
28+
sed -i 's|Filename: \./package_debian_A1|Filename: package_debian_A1|' Packages
29+
30+
- name: Compress Packages.bz2
31+
run: |
32+
rm -rf Packages.bz2
33+
bzip2 -fks Packages
34+
35+
- name: Packages Clean
36+
run: |
37+
rm -rf ./package_debian_*
38+
39+
- name: Commit and push changes
40+
uses: devops-infra/action-commit-push@master
41+
with:
42+
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
commit_message: "Repo: Repository Update"
44+
45+
- name: Upload GitHub Pages artifact
46+
uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: ./
49+
50+
gh-pages:
51+
runs-on: ubuntu-latest
52+
needs: build
53+
54+
permissions:
55+
contents: read
56+
pages: write
57+
id-token: write
58+
59+
environment:
60+
name: github-pages
61+
url: ${\{ steps.deployment.outputs.page_url }}
62+
63+
steps:
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

404.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Redirecting...</title>
6+
<script>
7+
const redirectTo = '/';
8+
window.location.replace(redirectTo);
9+
</script>
10+
</head>
11+
<body>
12+
<p>Redirecting...</p>
13+
</body>
14+
</html>

CydiaIcon.png

15.3 KB
Loading

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025 dopaemon <polarisdp@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Release

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Origin: Cydia Block Repository
2+
Label: Cydia Block Repository
3+
Suite: stable
4+
Version: 1.0
5+
Codename: CydiaBlock
6+
Architectures: iphoneos-arm
7+
Components: main
8+
Description: Open-source Cydia repo for backing up packages under 100MB.

control.sh

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
if [[ $# -eq 0 ]]; then
6+
echo "Usage: $0 file1.deb [file2.deb ...]"
7+
exit 1
8+
fi
9+
10+
for DEBFILE in "$@"; do
11+
if [[ ! -f "$DEBFILE" ]]; then
12+
echo "Skipping: $DEBFILE is not a regular file."
13+
continue
14+
fi
15+
16+
echo "Processing: $DEBFILE"
17+
TMPDIR=$(mktemp -d /tmp/deb.XXXXXXXXXX) || exit 1
18+
trap "rm -rf '$TMPDIR'" EXIT
19+
20+
dpkg-deb -x "$DEBFILE" "$TMPDIR"
21+
dpkg-deb --control "$DEBFILE" "$TMPDIR/DEBIAN"
22+
23+
CONTROL="$TMPDIR/DEBIAN/control"
24+
if [[ ! -f "$CONTROL" ]]; then
25+
echo "Error: control file not found in $DEBFILE."
26+
continue
27+
fi
28+
29+
OLD_HASH=$(sha256sum "$CONTROL" | cut -d ' ' -f1)
30+
nano "$CONTROL"
31+
NEW_HASH=$(sha256sum "$CONTROL" | cut -d ' ' -f1)
32+
33+
if [[ "$OLD_HASH" == "$NEW_HASH" ]]; then
34+
echo "Not modified: $DEBFILE"
35+
else
36+
echo "Modified. Rebuilding: $DEBFILE"
37+
dpkg-deb -b "$TMPDIR" "$DEBFILE"
38+
echo "Updated: $DEBFILE"
39+
fi
40+
41+
rm -rf "$TMPDIR"
42+
done
43+
44+
echo "Generating Packages file..."
45+
dpkg-scanpackages -m . /dev/null > Packages
46+
bzip2 -fks Packages
47+
echo "Done."

css/normalize.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/solo.css

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
@import "//fonts.googleapis.com/css?family=Montserrat:700";
2+
@import "//fonts.googleapis.com/css?family=Inconsolata:400,700";
3+
4+
html {
5+
font: 16px/1.3 Inconsolata, sans-serif
6+
}
7+
8+
@media(min-width:30rem) {
9+
html {
10+
font-size: 20px
11+
}
12+
}
13+
14+
body {
15+
margin: 2rem 0 5rem;
16+
color: #333;
17+
animation: fadeIn 1.4s ease 0s 1 normal;
18+
-webkit-animation: fadeIn 1.4s ease 0s 1 normal;
19+
}
20+
21+
@media(min-width:30rem) {
22+
body {
23+
margin-top: 5rem
24+
}
25+
}
26+
27+
@keyframes fadeIn {
28+
0% {opacity: 0}
29+
100% {opacity: 1}
30+
}
31+
32+
@-webkit-keyframes fadeIn {
33+
0% {opacity: 0}
34+
100% {opacity: 1}
35+
}
36+
37+
a {
38+
color: #0074d9;
39+
text-decoration: none
40+
}
41+
42+
a:hover, a:focus {
43+
text-decoration: underline
44+
}
45+
46+
h1, h2, h3, h4, h5, h6 {
47+
font-family: Montserrat, sans-serif;
48+
margin: 0 0 .5rem -.1rem;
49+
line-height: 1;
50+
color: #111;
51+
text-rendering: optimizeLegibility
52+
}
53+
54+
h1 {
55+
font-size: 2.5rem;
56+
margin-bottom: 1rem
57+
}
58+
59+
@media(min-width:30rem) {
60+
h1 {
61+
font-size: 3rem;
62+
margin-bottom: 3rem
63+
}
64+
}
65+
66+
h1 a {
67+
color: inherit
68+
}
69+
70+
h2 {
71+
margin-top: 2rem;
72+
font-size: 1.25rem;
73+
margin-bottom: .75rem
74+
}
75+
76+
@media(min-width:30rem) {
77+
h2 {
78+
margin-top: 2.5rem;
79+
font-size: 1.5rem;
80+
margin-bottom: 1rem
81+
}
82+
}
83+
84+
h3, h4, h5, h6 {
85+
margin-top: 1.5rem;
86+
font-size: 1rem;
87+
text-transform: uppercase
88+
}
89+
90+
p, ul, ol, dl, table, pre, blockquote {
91+
margin-top: 0;
92+
margin-bottom: 1rem
93+
}
94+
95+
ul, ol {
96+
padding-left: 1.5rem
97+
}
98+
99+
dd {
100+
margin-left: 1.5rem
101+
}
102+
103+
blockquote {
104+
margin-left: 0;
105+
margin-right: 0;
106+
padding: .5rem 1rem;
107+
border-left: .25rem solid #ccc;
108+
color: #666
109+
}
110+
111+
blockquote p:last-child {
112+
margin-bottom: 0
113+
}
114+
115+
hr {
116+
border: none;
117+
margin: 1.5rem 0;
118+
border-bottom: 1px solid #ccc;
119+
position: relative;
120+
top: -1px
121+
}
122+
123+
.container img, .container iframe {
124+
max-width: 100%
125+
}
126+
127+
.container img {
128+
margin: 0 auto;
129+
display: block
130+
}
131+
132+
table {
133+
width: 100%;
134+
border: 1px solid #ccc;
135+
border-collapse: collapse
136+
}
137+
138+
td, th {
139+
padding: .25rem .5rem;
140+
border: 1px solid #ccc
141+
}
142+
143+
pre, code {
144+
font-family: inherit;
145+
background-color: #eee
146+
}
147+
148+
pre {
149+
padding: .5rem 1rem;
150+
font-size: .8rem;
151+
font: 16px/1.5 Inconsolata, sans-serif
152+
}
153+
154+
code {
155+
padding: .1rem .25rem
156+
}
157+
158+
pre > code {
159+
padding: 0
160+
}
161+
162+
.container {
163+
max-width: 30rem;
164+
margin: 0 auto;
165+
padding: 0 1rem
166+
}

0 commit comments

Comments
 (0)