File tree Expand file tree Collapse file tree 5 files changed +21
-19
lines changed
Expand file tree Collapse file tree 5 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 11/* ** DO NOT EDIT THIS LINE -----------------------------------------------------
2- Version: 1.3.0
2+ Version: 1.3.1
33Title: github
44Description: search, install, and uninstall Stata packages with a particular
55version (release) as well as their dependencies from
@@ -402,5 +402,7 @@ prog define github
402402
403403end
404404
405- *markdoc github.ado, export(sthlp) replace build
405+ /*
406+ capture prog drop github
407+ markdoc github.ado, export(sthlp) replace build
406408
Original file line number Diff line number Diff line change 1- d 'GITHUB': installs Stata packages with a particular version (release) as
2- d well as their dependencies from
3- d {browse "http://www.github.com/haghish/githubinstall ":GitHub}
1+ d 'GITHUB': search, install, and uninstall Stata packages with a particular {break}
2+ d version (release) as well as their dependencies from
3+ d {browse "http://www.github.com/haghish/github ":GitHub} website
44d
5- d Distribution-Date: 20161116
5+ d Distribution-Date: 20161123
66d
77F github.ado
88F github.sthlp
@@ -15,4 +15,4 @@ F githubmake.ado
1515F githuboutput.ado
1616F githubQuery.ado
1717F githubsearch.ado
18- F githubsearchsteps.ado
18+ F githubsearchsteps.ado
Original file line number Diff line number Diff line change 11{smcl}
2- {right:version 1.3.0 }
2+ {right:version 1.3.1 }
33{title:Title}
44
55{phang}
@@ -79,7 +79,7 @@ installing a new repository{p_end}
7979{synopt:{opt force}}specifies that the downloaded files be installed even if the
8080{bf:packagename.pkg} and {bf:Stata.toc} files are missing. when searching for
8181repositories on github, packages that lack the {bf:pkg} and {bf:toc} files appear
82- as " ({bf:force })" in the result table, which indicates they are installed with
82+ as " ({it:_force_ })" in the result table, which indicates they are installed with
8383the {bf:force} option. {p_end}
8484
8585{syntab:Search Options}
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ prog githuboutput
5656 di _col(29) " {stata github install `address':Install}" _c
5757 }
5858 else {
59- * di _col(29) "" _c
60- di _col(29) " ({stata github install `address', force:{it:force}})" _c
59+ di _col(29) " " _c
60+ * di _col(29) "({stata github install `address', force:{it:force}})" _c
6161 }
6262
6363 // Description
@@ -105,12 +105,12 @@ prog githuboutput
105105 if `" `l1'"' ! = " " di _col(38) `" `l1'"'
106106
107107 //Add the package size
108- *if "`install'" == "1" & trim(`"`l1'"') != "" {
109- if trim(`" `l1'"' ) ! = " " {
108+ *if trim(`"`l1'"') != "" {
109+ if " `install' " == " 1 " & trim(`" `l1'"' ) ! = " " {
110110 di _col(29) " {it:`size'k}" _c
111111 }
112- //else if "`install'" == "1" {
113- else {
112+ //else {
113+ else if " `install' " == " 1 " {
114114 local alternative 1
115115 }
116116 local l1 //RESET
Original file line number Diff line number Diff line change 1- v 1.3.0
2- d 'GITHUB' : installs Stata packages with a particular version (release) as
3- d well as their dependencies from
4- d {browse "http://www.github.com/haghish/githubinstall " :GitHub}
1+ v 1.3.1
2+ d 'GITHUB' : search, install, and uninstall Stata packages with a particular {break}
3+ d version (release) as well as their dependencies from
4+ d {browse "http://www.github.com/haghish/github " :GitHub} website
55p github
You can’t perform that action at this time.
0 commit comments