-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3-master' into fix-metrics
* v3-master: Fix quotas Fix post merge Temp fix for linting Remove some duped reducers - all other cf specific reducers/functions should move out following #3789 Fix linting Fix three quota issues (#3782) Bump version and add changelog for 2.5 (#3765) Fix SSO tests Don't load demo plugin Remove demo plugin Don't send registration info in query string Added fav reducers back Don't send username/password in the URL Fix bug where setup is not saved and fix /uaa after setup Add apache2 utils to nginx package
- Loading branch information
Showing
40 changed files
with
401 additions
and
579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env node | ||
|
||
console.log('Collecting Change Log'); | ||
|
||
let since = '>=2019-05-03'; | ||
|
||
const request = require('request-promise-native'); | ||
const repo = 'cloudfoundry-incubator/stratos'; | ||
const fs = require('fs'); | ||
|
||
let url = 'https://api.github.com/search/issues?q=state:closed+repo:' + repo + '+updated:' + since; | ||
url = url + '&per_page=100'; | ||
|
||
const fileName = './log.md'; | ||
|
||
console.log(url); | ||
|
||
let total = -1; | ||
let fetched = 0; | ||
let results = []; | ||
|
||
function fetchPage(url, page) { | ||
const pageUrl = url + '&page=' + page; | ||
return request(pageUrl, { | ||
headers: { | ||
'User-Agent': 'Changelog' | ||
}, | ||
json: true}).then(data => { | ||
console.log('Fetched page : ' + page); | ||
|
||
if (page === 1) { | ||
total = data.total_count; | ||
console.log('Total results : ' + total); | ||
} | ||
fetched += data.items.length; | ||
results = results.concat(data.items); | ||
|
||
if (fetched < total) { | ||
return fetchPage(url, page + 1); | ||
} | ||
console.log('Got all data'); | ||
}); | ||
} | ||
|
||
fetchPage(url, 1).then(data => { | ||
fs.writeFileSync(fileName, '# Changes\n'); | ||
for(let i = 0; i<results.length;i++) { | ||
const item = results[i]; | ||
let line = '- ' + item.title + ' [\\#' + item.number + '](' + item.html_url + ')\n'; | ||
fs.appendFileSync(fileName, line); | ||
}; | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
FROM {{BASE_IMAGE}} | ||
{{#IS_SLE}} | ||
RUN zypper addrepo -G -t yum -c 'http://nginx.org/packages/sles/12' nginx | ||
RUN zypper addrepo -t rpm-md -G -c '{{SMT_INTERNAL_SERVER}}' smt_internal_server | ||
{{/IS_SLE}} | ||
RUN zypper -n ref && \ | ||
zypper -n up && \ | ||
zypper in -y nginx | ||
zypper in -y nginx apache2-utils | ||
|
||
{{#IS_SLE}} | ||
RUN zypper rr smt_internal_server | ||
{{/IS_SLE}} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.