You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2017/09/20 16:33:30 UTC
[1/2] libcloud git commit: Move file from contrib/ to scripts/,
make sure file is included in final tarball.
Repository: libcloud
Updated Branches:
refs/heads/trunk b0261458a -> 28f713131
Move file from contrib/ to scripts/, make sure file is included in final
tarball.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2e8f0c59
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2e8f0c59
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2e8f0c59
Branch: refs/heads/trunk
Commit: 2e8f0c5929f5d9c6e9afda08ef0ed5774fd89d4c
Parents: b026145
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Wed Sep 20 18:30:48 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Wed Sep 20 18:30:48 2017 +0200
----------------------------------------------------------------------
MANIFEST.in | 1 +
contrib/check_file_names.sh | 34 ----------------------------------
scripts/check_file_names.sh | 34 ++++++++++++++++++++++++++++++++++
tox.ini | 2 +-
4 files changed, 36 insertions(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2e8f0c59/MANIFEST.in
----------------------------------------------------------------------
diff --git a/MANIFEST.in b/MANIFEST.in
index d6b9889..32e7f5d 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -9,6 +9,7 @@ include requirements-tests.txt
include libcloud/data/pricing.json
prune libcloud/test/secrets.py
include demos/*
+include scripts/check_file_names.sh
include libcloud/test/*.py
include libcloud/test/pricing_test.json
include libcloud/test/secrets.py-dist
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2e8f0c59/contrib/check_file_names.sh
----------------------------------------------------------------------
diff --git a/contrib/check_file_names.sh b/contrib/check_file_names.sh
deleted file mode 100755
index a143a42..0000000
--- a/contrib/check_file_names.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env 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.
-#
-# Script which checks there are no files which name is longer
-# than the allowed limit
-# ext4 support file name up to 255 characters long, but layering
-# ecrypt on top of it drops the limit to 143 characters
-
-FILE_NAME_LENGTH_LIMIT=143
-
-FILES=$(find libcloud/ -regextype posix-egrep -regex ".*[^/]{${FILE_NAME_LENGTH_LIMIT},}")
-
-if [ "${FILES}" ]; then
- echo "Found files which name is longer than ${FILE_NAME_LENGTH_LIMIT} characters"
- echo "${FILES}"
- exit 1
-fi
-
-exit 0
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2e8f0c59/scripts/check_file_names.sh
----------------------------------------------------------------------
diff --git a/scripts/check_file_names.sh b/scripts/check_file_names.sh
new file mode 100755
index 0000000..a143a42
--- /dev/null
+++ b/scripts/check_file_names.sh
@@ -0,0 +1,34 @@
+#!/usr/bin/env 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.
+#
+# Script which checks there are no files which name is longer
+# than the allowed limit
+# ext4 support file name up to 255 characters long, but layering
+# ecrypt on top of it drops the limit to 143 characters
+
+FILE_NAME_LENGTH_LIMIT=143
+
+FILES=$(find libcloud/ -regextype posix-egrep -regex ".*[^/]{${FILE_NAME_LENGTH_LIMIT},}")
+
+if [ "${FILES}" ]; then
+ echo "Found files which name is longer than ${FILE_NAME_LENGTH_LIMIT} characters"
+ echo "${FILES}"
+ exit 1
+fi
+
+exit 0
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2e8f0c59/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index d48049e..8d89dcd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -86,7 +86,7 @@ commands = flake8 --ignore=E402 --exclude="test" libcloud/
python -mjson.tool libcloud/data/pricing.json
[testenv:checks]
-commands = ./contrib/check_file_names.sh
+commands = ./scripts/check_file_names.sh
[testenv:integration]
deps = -r{toxinidir}/integration/requirements.txt
[2/2] libcloud git commit: Update tox configuration so warning
message is not printed.
Posted by to...@apache.org.
Update tox configuration so warning message is not printed.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/28f71313
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/28f71313
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/28f71313
Branch: refs/heads/trunk
Commit: 28f713131094abf487e671507ae1afb894a69467
Parents: 2e8f0c5
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Wed Sep 20 18:33:16 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Wed Sep 20 18:33:16 2017 +0200
----------------------------------------------------------------------
tox.ini | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/28f71313/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 8d89dcd..c1334b0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,7 @@ basepython =
py3.5: python3.5
py3.6: python3.6
whitelist_externals = cp
+ scripts/*.sh
[testenv:pypypy3]
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py