You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drat.apache.org by ma...@apache.org on 2018/08/18 02:26:16 UTC

[drat] branch master updated: set exec bits, clean up, and move.

This is an automated email from the ASF dual-hosted git repository.

mattmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drat.git


The following commit(s) were added to refs/heads/master by this push:
     new 1357d1d  set exec bits, clean up, and move.
1357d1d is described below

commit 1357d1d194f5ff7e8d42c2974d1ea8189fa2fe2e
Author: Chris Mattmann <ma...@apache.org>
AuthorDate: Sat Aug 18 02:26:07 2018 +0000

    set exec bits, clean up, and move.
---
 distribution/src/main/resources/bin/dratseq        |  0
 distribution/src/main/resources/bin/dratstats.py   |  0
 .../main/resources/{ => bin}/gen-apache-clones.py  |  0
 distribution/src/main/resources/bin/oodt           |  0
 distribution/src/main/resources/gen-apache-repo.py | 25 ----------------------
 5 files changed, 25 deletions(-)

diff --git a/distribution/src/main/resources/bin/dratseq b/distribution/src/main/resources/bin/dratseq
old mode 100644
new mode 100755
diff --git a/distribution/src/main/resources/bin/dratstats.py b/distribution/src/main/resources/bin/dratstats.py
old mode 100644
new mode 100755
diff --git a/distribution/src/main/resources/gen-apache-clones.py b/distribution/src/main/resources/bin/gen-apache-clones.py
similarity index 100%
rename from distribution/src/main/resources/gen-apache-clones.py
rename to distribution/src/main/resources/bin/gen-apache-clones.py
diff --git a/distribution/src/main/resources/bin/oodt b/distribution/src/main/resources/bin/oodt
old mode 100644
new mode 100755
diff --git a/distribution/src/main/resources/gen-apache-repo.py b/distribution/src/main/resources/gen-apache-repo.py
deleted file mode 100755
index 5e39f09..0000000
--- a/distribution/src/main/resources/gen-apache-repo.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-# 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.
-
-
-with open(os.getenv("DRAT_HOME")+"/conf/apache-repo-list.txt") as ar:
-    for repo in ar.readlines():
-        repoBase = repo.split(".")[0]
-        repoName = "Apache "+repoBase.upper().rstrip()
-        repoPath = os.getenv("DRAT_HOME")+"/data/clones/"+repoBase
-        repoUrl = "http://github.com/apache/"+repo.rstrip()
-        repoDesc = repoName
-        print repoPath+" "+repoName+" "+repoUrl+" "+repoDesc