You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/04/25 00:31:12 UTC
[47/50] git commit: add a few missed license headers;
ignore a few build & test dirs
add a few missed license headers; ignore a few build & test dirs
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d8a9c75d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d8a9c75d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d8a9c75d
Branch: refs/heads/cj/5655
Commit: d8a9c75db5bb2bea13a807bcedf0a1adec822d2d
Parents: a1029bf
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Apr 24 16:23:04 2013 -0400
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Apr 24 16:23:04 2013 -0400
----------------------------------------------------------------------
Allura/allura/templates/members.html | 18 ++++++++++++
Allura/allura/templates/widgets/search_help.html | 20 +++++++++++++-
rat-excludes.txt | 4 +++
vagrant/compress.sh | 25 ++++++++++++++---
4 files changed, 62 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d8a9c75d/Allura/allura/templates/members.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/members.html b/Allura/allura/templates/members.html
index f709d78..2eac1d0 100644
--- a/Allura/allura/templates/members.html
+++ b/Allura/allura/templates/members.html
@@ -1,3 +1,21 @@
+{#-
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-#}
{% set hide_left_bar = True %}
{% extends g.theme.master %}
{% block title %}Members{% endblock %}
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d8a9c75d/Allura/allura/templates/widgets/search_help.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/search_help.html b/Allura/allura/templates/widgets/search_help.html
index 89a4fbc..ab701db 100644
--- a/Allura/allura/templates/widgets/search_help.html
+++ b/Allura/allura/templates/widgets/search_help.html
@@ -1,5 +1,23 @@
+{#-
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-#}
<div style="height:400px; overflow:auto;">
-
+
<h1>Searching</h1>
<p>To search for an exact phrase, put it in quotes. Example: "getting started docs"</p>
<p>To exclude a word or phrase, put a dash in front of it. Example: docs -help</p>
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d8a9c75d/rat-excludes.txt
----------------------------------------------------------------------
diff --git a/rat-excludes.txt b/rat-excludes.txt
index 10a862f..bae4984 100644
--- a/rat-excludes.txt
+++ b/rat-excludes.txt
@@ -2,9 +2,12 @@ rat-excludes.txt
**/setup.cfg
**/*.json
**/*.git/
+**/*.egg-info/
requirements*
**/MANIFEST.in
+**/test.log
Allura/allura/controllers/controller.template
+Allura/docs/_build/
Allura/allura/etc/mime.types
Allura/allura/lib/AsciiDammit.py
Allura/allura/lib/widgets/resources/css/autocomplete.css
@@ -31,3 +34,4 @@ ForgeSVN/forgesvn/tests/data/testsvn/
solr_config/core0/conf/spellings.txt
solr_config/core1/conf/spellings.txt
solr_config/solr.xml
+
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d8a9c75d/vagrant/compress.sh
----------------------------------------------------------------------
diff --git a/vagrant/compress.sh b/vagrant/compress.sh
index c9bcd77..4fd9936 100755
--- a/vagrant/compress.sh
+++ b/vagrant/compress.sh
@@ -1,19 +1,36 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
echo 'Cleanup bash history'
unset HISTFILE
[ -f /root/.bash_history ] && rm /root/.bash_history
[ -f /home/vagrant/.bash_history ] && rm /home/vagrant/.bash_history
-
+
echo 'Cleanup log files'
find /var/log -type f | while read f; do echo -ne '' > $f; done;
-
+
echo 'Whiteout root'
-count=`df --sync -kP / | tail -n1 | awk -F ' ' '{print $4}'`;
+count=`df --sync -kP / | tail -n1 | awk -F ' ' '{print $4}'`;
let count--
dd if=/dev/zero of=/tmp/whitespace bs=1024 count=$count;
rm /tmp/whitespace;
-
+
echo 'Whiteout /boot'
count=`df --sync -kP /boot | tail -n1 | awk -F ' ' '{print $4}'`;
let count--