a73db1a2a71297b10c38345b25b227bd1a90f1af
- Author
- Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/testscript/testdata/mirror.txtar b/testscript/testdata/mirror.txtar
2index 5df60625217e07f084deae858dc39e23c4b3db9e..fded61ff9d0488d4d4de820a0fc92120e7764591 100644
3--- a/testscript/testdata/mirror.txtar
4+++ b/testscript/testdata/mirror.txtar
5@@ -9,43 +9,41 @@ exec soft serve &
6 ensureserverrunning SSH_PORT
7
8 # import a repo
9-# TODO: this repo changes all the time, which will also break the tests.
10-# Should probably use something else.
11-soft repo import --mirror charmbracelet/catwalk https://github.com/charmbracelet/catwalk.git
12+soft repo import --mirror charmbracelet/wizard-tutorial https://github.com/charmbracelet/wizard-tutorial.git
13
14 # check empty description file
15-readfile $DATA_PATH/repos/charmbracelet/catwalk.git/description ''
16+readfile $DATA_PATH/repos/charmbracelet/wizard-tutorial.git/description ''
17
18 # check repo info
19-soft repo info charmbracelet/catwalk
20+soft repo info charmbracelet/wizard-tutorial
21 cmp stdout info1.txt
22
23 # check repo list
24 soft repo list
25-stdout charmbracelet/catwalk
26+stdout charmbracelet/wizard-tutorial
27
28 # is-mirror?
29-soft repo is-mirror charmbracelet/catwalk
30+soft repo is-mirror charmbracelet/wizard-tutorial
31 stdout true
32
33 # set project name
34-soft repo project-name charmbracelet/catwalk catwalk
35+soft repo project-name charmbracelet/wizard-tutorial wizard-tutorial
36 soft repo list
37-stdout catwalk
38+stdout wizard-tutorial
39
40
41 # check description
42-soft repo description charmbracelet/catwalk
43+soft repo description charmbracelet/wizard-tutorial
44 ! stdout .
45
46 # set description
47-soft repo description charmbracelet/catwalk "testing repo"
48-soft repo description charmbracelet/catwalk
49+soft repo description charmbracelet/wizard-tutorial "testing repo"
50+soft repo description charmbracelet/wizard-tutorial
51 stdout 'testing repo'
52-readfile $DATA_PATH/repos/charmbracelet/catwalk.git/description 'testing repo'
53+readfile $DATA_PATH/repos/charmbracelet/wizard-tutorial.git/description 'testing repo'
54
55 # rename
56-soft repo rename charmbracelet/catwalk charmbracelet/test
57+soft repo rename charmbracelet/wizard-tutorial charmbracelet/test
58 soft repo list
59 stdout charmbracelet/test # TODO: shouldn't this still show the project-name?
60
61@@ -78,8 +76,8 @@ soft repo info charmbracelet/test
62 cmp stdout info2.txt
63
64 # get a file
65-soft repo blob charmbracelet/test LICENSE
66-stdout '.*MIT.*'
67+soft repo blob charmbracelet/test README.md
68+stdout '.*Wizard.*'
69
70 # stop the server
71 [windows] stopserver
72@@ -88,7 +86,7 @@ stdout '.*MIT.*'
73
74 -- info1.txt --
75 Project Name:
76-Repository: charmbracelet/catwalk
77+Repository: charmbracelet/wizard-tutorial
78 Description:
79 Private: false
80 Hidden: false
81@@ -97,32 +95,8 @@ Owner: admin
82 Default Branch: main
83 Branches:
84 - main
85- - openrouter-update
86-Tags:
87- - v0.4.12
88- - v0.4.11
89- - v0.4.10
90- - v0.4.9
91- - v0.4.8
92- - v0.4.7
93- - v0.4.6
94- - v0.4.5
95- - v0.4.4
96- - v0.4.3
97- - v0.4.2
98- - v0.4.1
99- - v0.4.0
100- - v0.3.6
101- - v0.3.5
102- - v0.3.4
103- - v0.3.3
104- - v0.3.2
105diff --git a/testscript/testdata/repo-collab.txtar b/testscript/testdata/repo-collab.txtar
106index ead5fdce455f81172fe2604fec0595dd3efa4149..9a1f75eed8d5008aeaec87d26e2ba61f0cf26260 100644
107--- a/testscript/testdata/repo-collab.txtar
108+++ b/testscript/testdata/repo-collab.txtar
109@@ -6,7 +6,7 @@ exec soft serve &
110 ensureserverrunning SSH_PORT
111
112 # setup
113-soft repo import test https://github.com/charmbracelet/catwalk.git
114+soft repo import test https://github.com/charmbracelet/wizard-tutorial.git
115 soft user create foo --key "$USER1_AUTHORIZED_KEY"
116
117 # list collabs
118diff --git a/testscript/testdata/repo-import.txtar b/testscript/testdata/repo-import.txtar
119index 9c6c9639e636349d0d746071ed0e53b38229bf7b..c90a3c50643e5b3c05bb4029d4326972e9322993 100644
120--- a/testscript/testdata/repo-import.txtar
121+++ b/testscript/testdata/repo-import.txtar
122@@ -9,17 +9,17 @@ exec soft serve &
123 ensureserverrunning SSH_PORT
124
125 # import private
126-soft repo import --private repo1 https://github.com/charmbracelet/catwalk.git
127+soft repo import --private repo1 https://github.com/charmbracelet/wizard-tutorial.git
128 soft repo private repo1
129 stdout 'true'
130
131 # import hidden
132-soft repo import --hidden repo2 https://github.com/charmbracelet/catwalk.git
133+soft repo import --hidden repo2 https://github.com/charmbracelet/wizard-tutorial.git
134 soft repo hidden repo2
135 stdout 'true'
136
137 # import with name and description
138-soft repo import --name 'repo33' --description 'descriptive' repo3 https://github.com/charmbracelet/catwalk.git
139+soft repo import --name 'repo33' --description 'descriptive' repo3 https://github.com/charmbracelet/wizard-tutorial.git
140 soft repo info repo3
141 cmp stdout repo3.txt
142
143@@ -38,27 +38,3 @@ Owner: admin
144 Default Branch: main
145 Branches:
146 - main
147- - openrouter-update
148-Tags:
149- - v0.4.12
150- - v0.4.11
151- - v0.4.10
152- - v0.4.9
153- - v0.4.8
154- - v0.4.7
155- - v0.4.6
156- - v0.4.5
157- - v0.4.4
158- - v0.4.3
159- - v0.4.2
160- - v0.4.1
161- - v0.4.0
162- - v0.3.6
163- - v0.3.5
164- - v0.3.4
165- - v0.3.3
166- - v0.3.2
167- - v0.3.1
168- - v0.3.0
169- - v0.2.0
170- - v0.1.0
171diff --git a/testscript/testdata/soft-browse.txtar b/testscript/testdata/soft-browse.txtar
172index 7514f770d8f2ef5135107a0c265f2a809e7146fb..9094717aaadf298f6f04be842cf1545e76568436 100644
173--- a/testscript/testdata/soft-browse.txtar
174+++ b/testscript/testdata/soft-browse.txtar
175@@ -3,16 +3,16 @@
176 [windows] skip
177
178 # clone repo
179-#git clone https://github.com/charmbracelet/catwalk.git catwalk
180+#git clone https://github.com/charmbracelet/wizard-tutorial.git wizard-tutorial
181
182 # run soft browse
183 # disable this temporarily
184 #ttyin input.txt
185-#exec soft browse ./catwalk
186+#exec soft browse ./wizard-tutorial
187
188 # cd and run soft
189 # disable this temporarily
190-#cd catwalk
191+#cd wizard-tutorial
192 #ttyin ../input.txt
193 #exec soft
194
195@@ -28,4 +28,3 @@ jjkkdduu
196 jjkkdduu
197
198 qqq
199-