From 5c6267b37624540c568a18ae7ee337a00a2d992c Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Mon, 27 Jun 2011 18:38:58 -0700 Subject: [PATCH] Wagon: Deploying site to repository --- css/1024px.css | 65 +++++++++++++++++++++ css/maven-base.css | 103 ++++++++++++++++++++++++++++++++++ css/maven-theme.css | 121 ++++++++++++++++++++++++++++++++++++++++ css/site.css | 1 + images/background.l.gif | Bin 0 -> 531 bytes images/background.r.gif | Bin 0 -> 531 bytes images/collapsed.gif | Bin 0 -> 53 bytes images/expanded.gif | Bin 0 -> 52 bytes images/external.png | Bin 0 -> 230 bytes images/newwindow.png | Bin 0 -> 220 bytes index.html | 115 ++++++++++++++++++++++++++++++++++++++ 11 files changed, 405 insertions(+) create mode 100644 css/1024px.css create mode 100644 css/maven-base.css create mode 100644 css/maven-theme.css create mode 100644 css/site.css create mode 100644 images/background.l.gif create mode 100644 images/background.r.gif create mode 100644 images/collapsed.gif create mode 100644 images/expanded.gif create mode 100644 images/external.png create mode 100644 images/newwindow.png create mode 100644 index.html diff --git a/css/1024px.css b/css/1024px.css new file mode 100644 index 000000000..2f9987b23 --- /dev/null +++ b/css/1024px.css @@ -0,0 +1,65 @@ +/* +Original design: 1024px (v3.5 - Jan 25, 2009) - A free xhtml/css website template by Andreas Viklund. +For more information, see http://andreasviklund.com/templates/1024px/ +*/ + +/* General tags */ +body {background:#fff; color:#404040; font-family:Verdana,Tahoma,Arial,sans-serif; line-height:1.3em; margin:0 auto; padding:0;} +a {color:#4088b8; font-weight:700; text-decoration:none;} +a:hover {text-decoration:underline;} +a img {border:0;} +p {margin:0 0 18px 10px;} +ul,ol,dl {font-size:0.9em; margin:2px 0 16px 35px;} +ul ul,ol ol {margin:4px 0 4px 35px;} +blockquote {border:1px solid #dadada; font-size:0.9em; margin:20px 10px; padding:8px;} +blockquote p {margin:0;} + +/* Headers */ +h1 {color:#4088b8; font-size:2.5em; letter-spacing:-3px; margin:0 0 20px 25px; padding-top:0.5em;} +h1 a {color:#4088b8; text-transform:none;} +h2 {border-bottom:4px solid #dadada; color:#4088b8; font-size:1.2em; letter-spacing:-1px; margin:0 0 10px; padding:0 2px 2px 5px;} +h3 {border-bottom:1px solid #dadada; color:#4088b8; font-size:1.1em; font-weight:700; margin:10px 0 8px; padding:1px 2px 2px 3px;} + +/* Main wrap */ +#wrap {color:#404040; padding: 0 150px; background:url(../images/background.r.gif) repeat-y top right; } +#wrap2 { background:url(../images/background.l.gif) repeat-y top left; } +#header {margin:0;} +#toplinks { + font-size:0.9em; padding:5px 2px 2px 3px; text-align:right; + position:absolute; left:0px; top:-500px; +} +#toplinks a {color:gray;} +#slogan {color:gray; font-size:1.5em; font-weight:700; letter-spacing:-1px; line-height:1.2em; margin:15px 0 20px 35px;} + +/* Sidebar and menu */ +#sidebar {float:left; line-height:1.4em; margin:0 0 5px; padding:1px 0 0; width:16em;} +#sidebar ul {font-size:0.9em; list-style:none; margin:0; padding:0 0 15px 10px;} +#sidebar li {list-style:none; margin:0 0 4px; } +#sidebar li a {font-weight:700; padding:2px;} +#sidebar ul ul {line-height:1.2em; margin:4px 0 3px 0px; padding:0;} +#sidebar ul ul li a {font-weight:400;} +#sidebar h2 {margin:3px 0 8px;} + +/* Main content */ +#content { line-height:1.5em; margin:0; padding:0; padding-left:18em; text-align:left; } +#contentalt {float:left; line-height:1.5em; margin-right:20px; padding:0; text-align:left; width:750px;} +#content h3,#contentalt h3 {margin:10px 0 8px;} + +/* Footer */ +#footer {border-top:4px solid #dadada; clear:both; color:gray; font-size:0.9em; line-height:1.6em; margin:0 auto; padding:8px 0; text-align:right;} +#footer p {margin:0; padding:0;} +#footer a {color:#808080;} + +/* Additional classes */ +.box {background:#4088b8; border:1px solid #c8c8c8; color:#fff; font-size:0.9em; line-height:1.4em; padding:10px 10px 10px 13px;} +.box a {color:#f0f0f0;} +.left {float:left; margin:0 15px 4px 0;} +.right {float:right; margin:0 0 4px 15px;} +.readmore {margin:-10px 10px 12px 0; text-align:right;} +.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;} +.timestamp a {font-weight:normal;} +.blue {color:#4088b8;} +.clear {clear:both;} +.fade {color:#c8c8c8;} +.gray {color:gray;} +.photo {background:#fff; border:1px solid #bababa; margin:6px 18px 2px 5px; padding:2px;} diff --git a/css/maven-base.css b/css/maven-base.css new file mode 100644 index 000000000..f3687e715 --- /dev/null +++ b/css/maven-base.css @@ -0,0 +1,103 @@ +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; + text-shadow: #7CFC00; +} +.xright, #bannerRight img { + float:right; + text-shadow: #7CFC00; +} +#leftColumn { + display: none; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +/* +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +*/ +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; + border: 1px solid black; + width: 90px; + height: 30px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} diff --git a/css/maven-theme.css b/css/maven-theme.css new file mode 100644 index 000000000..affb641d5 --- /dev/null +++ b/css/maven-theme.css @@ -0,0 +1,121 @@ +code{ + font-family: Courier, monospace; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +#bodycol h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +#bodycol h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +#bodycol h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +#bodycol h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +#bodycol p { + line-height: 1.3em; + font-size: small; + font-family: inherit; /* cancel the java.net override */ +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +#bodycol table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +#bodycol table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +#bodycol table.bodyTable tr.a { + background-color: #ddd; +} + +#bodycol table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +#bodycol dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +#bodycol dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/css/site.css b/css/site.css new file mode 100644 index 000000000..055e7e286 --- /dev/null +++ b/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/images/background.l.gif b/images/background.l.gif new file mode 100644 index 0000000000000000000000000000000000000000..6edafce40abbfb70a23c317f39d97d241d61ecc7 GIT binary patch literal 531 zcmZ?wbhEHbY-eC(IOfK1@#4ixmoDADef!SsJ3w&v?%jL$?%fBX`}ZF_c<}Jy!$*%E zJqDu3kDokw^7QG`XV0EJe-1>?UjV^N5P0?K)$7-<-+=KOAb1M_?||Sv2)ze_4<9~! z1fh>$@afaXPhjvF1ipa4*Dqf|;M>=4-@bhZfgj(0fWglnKY`#E5P*r_An@n+A0YS( zM1TMO1EPOG1O)&8{RaXt0b&ddp!k!8k&B_8L5BedKykvrUeMsy)ZF6c;_B?w<>cUK z-*0bcJ9)B=^>k}1%h~1@X7f!r@EF>tvf0vJsmxr5+i<5($jg^I&iIJg^!5RRS Cc9S9i literal 0 HcmV?d00001 diff --git a/images/background.r.gif b/images/background.r.gif new file mode 100644 index 0000000000000000000000000000000000000000..34e6d517b77277d48b77d37c6d1fe89c2d6aa7b4 GIT binary patch literal 531 zcmZ?wbhEHbY-eC(IOfK1@#4ixmoDADef!SsJ3w&v?%jL$?%fBX`}ZF_c<}Jy!$*%E zJqDu3kDokw^7QG`XV0EJe-1>?UjV^N5P0?K)$7-<-+=KOAb1M_?||Sv2)ze_4<9~! z1fh>$@afaXPhjvF1ipa4*Dqf|;M>=4-@bhZfgj(0fWglnKY`#E5P*r_An@n+A0YS( zM1TMO1EPOG1O)&8{RaXt0b&ddp!k!8k&B_8L5BedKykvrUeLh6$i&RT%Er#Y$;HLZ z!^_9VKUqLfNLW}zR8(xPn7Fuvq|_2AX_*zWa;xPP6xS#h)yUTnvm1Iv_qshJlI4r7uBZ*YkPFU8d4p4Aua}2?(?R literal 0 HcmV?d00001 diff --git a/images/expanded.gif b/images/expanded.gif new file mode 100644 index 0000000000000000000000000000000000000000..0fef3d89e0df1f8bc49a0cd827f2607c7d7fd2f0 GIT binary patch literal 52 xcmZ?wbhEHbWM^P!XkdT>#h)yUTnvm1Iv_qshJlH@g}+fUi&t{amUB!D)&R0C2fzRT literal 0 HcmV?d00001 diff --git a/images/external.png b/images/external.png new file mode 100644 index 0000000000000000000000000000000000000000..3f999fc88b360074e41f38c3b4bc06ccb3bb7cf8 GIT binary patch literal 230 zcmeAS@N?(olHy`uVBq!ia0vp^+(699!3-oX?^2ToQY`6?zK#qG>ra@ocD)4hB}-f* zN`mv#O3D+9QW+dm@{>{(JaZG%Q-e|yQz{EjrrH1%@dWsUxR#cd{{R1fCIbVIy!atN z8e~{WkY6y6%iy53@(Yk3;OXKRQgJIOfsI*BO@UFsfhWLBc>*(#PB?Jn2*(o!76E4F z2oaVU3``tH+Kgs0GI5+@Tg}d)z%jd%F@?{8!SRZ5b1yT80-FZIMn)zc2Ca66y`pzY R*nwsra@ocD)4hB}-f* zN`mv#O3D+9QW+dm@{>{(JaZG%Q-e|yQz{EjrrH1%@dWsUxR#cd&SYTt4+aeuCvSob zD+%%o1`04ZXs!GLj7%Iec?BF2%&y2ZFfeUwWbk2P5nvW+xWT~4#-PT{uyM;F);OSv44$rjF6*2U FngH~|K)3(^ literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 000000000..4619e78db --- /dev/null +++ b/index.html @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + GitHub API for Java - + + + + +
+ + + + +
+
+

What is this?

+

This library defines an object oriented representation of the GitHub API. The library doesn't yet cover the entirety of the GitHub API, but it's implemented with the right abstractions and libraries to make it very easy to improve the coverage.

+
+

Sample Usage

+
GitHub github = GitHub.connect();
+GHRepository repo = github.createRepository(
+  "new-repository","this is my new repository",
+  "http://www.kohsuke.org/",true/*public*/);
+repo.addCollaborators(github.getUser("abayer"),github.getUser("rtyler"));
+repo.delete();
+
+
+

Credential

+

This library allows the caller to supply the credential as parameters, but it also defines a common convention so that applications using this library will look at the consistent location. In this convention, the library looks at "~/.github" property file, which should have the following two values:

+
login=kohsuke
+token=012345678
+
+
+ +
+
+ +
+ +