@@ -16,8 +16,8 @@ prog githuboutput
1616 // make sure one of the observations is installable
1717 if `c(N)' > 0 & `max' ! = 0 | `c(N)' > 0 & ! missing(" `all'" ) {
1818 di in text _n " {hline 80}" _n ///
19- " {bf:Repository}" _col(17 ) " {bf:Username}" _col(29 ) " {bf:Install}" ///
20- _col(38 ) " {bf:Description} " _n ///
19+ " {bf:Repository}" _col(19 ) " {bf:Username}" _col(31 ) " {bf:Install}" ///
20+ _col(40 ) " {bf:Description} " _n ///
2121 " {hline 80}"
2222
2323 // limit the output
@@ -45,7 +45,7 @@ prog githuboutput
4545
4646 local pushed : di %tcCCYY- NN- DD pushed[`N']
4747
48- local short : di abbrev(name[`N'], 13 )
48+ local short : di abbrev(name[`N'], 15 )
4949
5050 tokenize `address', parse(" /" )
5151 local user : di abbrev(`" `1'"' , 11)
@@ -60,14 +60,14 @@ prog githuboutput
6060
6161
6262 di `" {bf:{browse "http://github.com/`address'":`short'}}"' ///
63- _col(17 ) `" {browse "http://github.com/`1'":`user'}"' _c
63+ _col(19 ) `" {browse "http://github.com/`1'":`user'}"' _c
6464
6565 local install : di installable[`N']
6666 if " `install'" == " 1" {
67- di _col(29 ) " {stata github install `address':Install}" _c
67+ di _col(31 ) " {stata github install `address':Install}" _c
6868 }
6969 else {
70- di _col(29 ) " " _c
70+ di _col(31 ) " " _c
7171 *di _col(29) "({stata github install `address', force:{it:force}})" _c
7272 }
7373
@@ -123,12 +123,12 @@ prog githuboutput
123123 local n `++ n'
124124 }
125125
126- if `" `l1'"' ! = " " di _col(38 ) `" `l1'"'
126+ if `" `l1'"' ! = " " di _col(40 ) `" `l1'"'
127127
128128 //Add the package size
129129 *if trim(`"`l1'"') != "" {
130130 if " `install'" == " 1" & trim(`" `l1'"' ) ! = " " {
131- di _col(29 ) " {it:`size'k}" _c
131+ di _col(31 ) " {it:`size'k}" _c
132132 }
133133 //else {
134134 else if " `install'" == " 1" {
@@ -139,51 +139,51 @@ prog githuboutput
139139
140140 // continue with the description
141141 while `m' < = `n' {
142- if `" `l`m''"' ! = " " di _col(37 ) `" `l`m''"'
142+ if `" `l`m''"' ! = " " di _col(39 ) `" `l`m''"'
143143 local l`m' //RESET
144144 local m `++ m'
145145 }
146146
147147 // Add the Homepage
148148 // -----------------------------------------------------------
149149 if `" `homepage'"' ! = " " {
150- di _col(38 ) `" homepage {browse "`homepage'":`homeabbrev'}"'
150+ di _col(40 ) `" homepage {browse "`homepage'":`homeabbrev'}"'
151151 local homepage //RESET
152152 }
153153
154154 // Add the last update
155155 // -----------------------------------------------------------
156- di _col(38 ) `" updated on `pushed'"'
156+ di _col(40 ) `" updated on `pushed'"'
157157
158158 // Add the additional description
159159 // -----------------------------------------------------------
160- di _col(38 ) " {bf:Fork:}" trim(" `fork'" ) _col(48 ) " {bf:Star:}" ///
160+ di _col(40 ) " {bf:Fork:}" trim(" `fork'" ) _col(50 ) " {bf:Star:}" ///
161161 trim(" `star'" ) _c
162162
163163 if ! missing(" `lang'" ) {
164- di _col(58 ) " {bf:Lang:}" trim(" `lang'" ) _c
164+ di _col(60 ) " {bf:Lang:}" trim(" `lang'" ) _c
165165 }
166166
167167 if `dependency' == 1 {
168168 if " `alternative'" == " 1" {
169- di _col(70 ) `" ({browse "http://github.com/`address'/blob/master/dependency.do":dependency})"'
169+ di _col(72 ) `" ({browse "http://github.com/`address'/blob/master/dependency.do":dependency})"'
170170 }
171171 else {
172- di _col(70 ) `" ({browse "http://github.com/`address'/blob/master/dependency.do":dependency})"' _n
172+ di _col(72 ) `" ({browse "http://github.com/`address'/blob/master/dependency.do":dependency})"' _n
173173 }
174174 }
175175 else {
176176 if " `alternative'" == " 1" {
177- di _col(75 )
177+ di _col(77 )
178178 }
179179 else {
180- di _col(75 ) _n
180+ di _col(77 ) _n
181181 }
182182 }
183183
184184 //Add the package size if the description was empty
185185 if " `alternative'" == " 1" {
186- di _col(29 ) " {it:`size'k}" _n
186+ di _col(31 ) " {it:`size'k}" _n
187187 local alternative //RESET
188188 }
189189 }
0 commit comments