Skip to content

Commit 1e60c4b

Browse files
committed
Merge remote-tracking branch 'upstream/master' into mavenize
# Conflicts: # nbproject/project.properties # opengrok-web-nbproject/nbproject/project.properties # opengrok-web/src/main/webapp/eforbidden.jsp
2 parents a03922c + f8591e9 commit 1e60c4b

File tree

6 files changed

+26
-15
lines changed

6 files changed

+26
-15
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.
33

44

55
# OpenGrok - a wicked fast source browser
6-
[![Build Status](https://travis-ci.org/oracle/opengrok.svg?branch=master)](https://travis-ci.org/oracle/opengrok)
6+
[![Travis Status](https://travis-ci.org/oracle/opengrok.svg?branch=master)](https://travis-ci.org/oracle/opengrok)
7+
[![wercker status](https://app.wercker.com/status/e2a879f4677e679c0bbf8fa82bcc0dba/s/master "wercker status")](https://app.wercker.com/project/byKey/e2a879f4677e679c0bbf8fa82bcc0dba)
78
[![Coverage Status](https://coveralls.io/repos/oracle/opengrok/badge.svg?branch=master)](https://coveralls.io/r/oracle/opengrok?branch=master)
89

910
1. [Introduction](#1-introduction)

opengrok-indexer/src/test/java/org/opengrok/indexer/search/SearchTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public void testParseCmdLine() {
136136
/**
137137
* Test of search method, of class Search.
138138
*/
139+
/* see https://github.com/oracle/opengrok/issues/2030
139140
@Test
140141
public void testSearch() {
141142
Search instance = new Search();
@@ -202,8 +203,8 @@ public void testSearch() {
202203
assertTrue(instance.parseCmdLine(new String[]{"-f", "********in argv path:main.c"}));
203204
assertTrue(instance.search());
204205
assertEquals(4, instance.results.size());
205-
206206
}
207+
*/
207208

208209
@Test
209210
public void testSearchNotFound() {

opengrok-web/src/main/webapp/eforbidden.jsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ information: Portions Copyright [yyyy] [name of copyright owner]
1616
1717
CDDL HEADER END
1818
19-
Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
19+
Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
20+
Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
2021
--%>
2122
<%@page session="false" import="org.opengrok.indexer.web.PageConfig" %>
2223
<%
2324
/* ---------------------- eforbidden.jspf start --------------------- */
2425
{
2526
response.setStatus(HttpServletResponse.SC_FORBIDDEN);
2627
%>
27-
<%= PageConfig.get(request).getEnv().getConfiguration().getForbiddenIncludeFileContent() %>
28+
<%= PageConfig.get(request).getEnv().getConfiguration().getForbiddenIncludeFileContent(false) %>
2829
<%
2930
}
3031
/* ---------------------- eforbidden.jspf end --------------------- */

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
5959
</scm>
6060

6161
<properties>
62-
<lucene.version>7.3.1</lucene.version>
62+
<lucene.version>7.4.0</lucene.version>
6363
<mavenjavadocplugin.version>2.10.4</mavenjavadocplugin.version>
6464
<compileSource>1.8</compileSource>
6565
<compileTarget>1.8</compileTarget>

tools/sync/sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def worker(base):
7171

7272
return base
7373

74+
7475
if __name__ == '__main__':
7576
output = []
7677
dirs_to_process = []

wercker.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
# This references an OpenJDK container from the
22
# Docker Hub https://hub.docker.com/_/openjdk/
3-
# Read more about containers on our dev center
4-
# http://devcenter.wercker.com/docs/containers/index.html
53
box: openjdk:8-jdk
64

7-
# This is the build pipeline. Pipelines are the core of wercker
8-
# Read more about pipelines on our dev center
9-
# http://devcenter.wercker.com/docs/pipelines/index.html
5+
# This should switch to Oracle JDK however does not work:
6+
#box:
7+
# id: store/oracle/serverjre
8+
# username: $DOCKER_USERNAME
9+
# password: $DOCKER_PASSWORD
10+
# tag: 8
11+
1012
build:
11-
# Steps make up the actions in your pipeline
12-
# Read more about steps on our dev center:
13-
# http://devcenter.wercker.com/docs/steps/index.html
1413
steps:
15-
# https://github.com/wercker/step-maven
16-
- wercker/maven:
14+
- install-packages:
15+
packages: sudo maven exuberant-ctags cvs git mercurial cssc bzr subversion monotone rcs pep8
16+
- script:
17+
name: Create non-root user
18+
code: |
19+
/usr/sbin/groupadd -g 1000 foobar
20+
/usr/sbin/useradd -u 1000 -g 1000 -s /bin/bash -m foobar
21+
chown -R foobar:foobar $WERCKER_ROOT
22+
- wercker/[email protected]:
1723
goals: install
1824
cache_repo: true
25+
sudo_user: foobar
1926
version: 3.5.2

0 commit comments

Comments
 (0)