From 9d83ad93d04a1e16fe4a2acadf5f9f10bef6d1b9 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 5 Jun 2021 21:25:06 +0530 Subject: [PATCH] [cleanup] Mark unused files --- devscripts/buildserver.py | 2 ++ devscripts/{gh-pages => gh-pages.unused}/add-version.py | 0 devscripts/{gh-pages => gh-pages.unused}/generate-download.py | 0 devscripts/{gh-pages => gh-pages.unused}/sign-versions.py | 0 devscripts/{gh-pages => gh-pages.unused}/update-copyright.py | 0 devscripts/{gh-pages => gh-pages.unused}/update-feed.py | 0 devscripts/{gh-pages => gh-pages.unused}/update-sites.py | 0 devscripts/release.sh | 1 + devscripts/wine-py2exe.sh | 2 ++ test/{swftests => swftests.unused}/.gitignore | 0 test/{swftests => swftests.unused}/ArrayAccess.as | 0 test/{swftests => swftests.unused}/ClassCall.as | 0 test/{swftests => swftests.unused}/ClassConstruction.as | 0 test/{swftests => swftests.unused}/ConstArrayAccess.as | 0 test/{swftests => swftests.unused}/ConstantInt.as | 0 test/{swftests => swftests.unused}/DictCall.as | 0 test/{swftests => swftests.unused}/EqualsOperator.as | 0 test/{swftests => swftests.unused}/LocalVars.as | 0 test/{swftests => swftests.unused}/MemberAssignment.as | 0 test/{swftests => swftests.unused}/NeOperator.as | 0 test/{swftests => swftests.unused}/PrivateCall.as | 0 test/{swftests => swftests.unused}/PrivateVoidCall.as | 0 test/{swftests => swftests.unused}/StaticAssignment.as | 0 test/{swftests => swftests.unused}/StaticRetrieval.as | 0 test/{swftests => swftests.unused}/StringBasics.as | 0 test/{swftests => swftests.unused}/StringCharCodeAt.as | 0 test/{swftests => swftests.unused}/StringConversion.as | 0 test/test_aes.py | 1 - test/{test_swfinterp.py => test_swfinterp.py.disabled} | 0 yt_dlp/{swfinterp.py => swfinterp.py.disabled} | 0 30 files changed, 5 insertions(+), 1 deletion(-) rename devscripts/{gh-pages => gh-pages.unused}/add-version.py (100%) mode change 100755 => 100644 rename devscripts/{gh-pages => gh-pages.unused}/generate-download.py (100%) mode change 100755 => 100644 rename devscripts/{gh-pages => gh-pages.unused}/sign-versions.py (100%) mode change 100755 => 100644 rename devscripts/{gh-pages => gh-pages.unused}/update-copyright.py (100%) mode change 100755 => 100644 rename devscripts/{gh-pages => gh-pages.unused}/update-feed.py (100%) mode change 100755 => 100644 rename devscripts/{gh-pages => gh-pages.unused}/update-sites.py (100%) mode change 100755 => 100644 rename test/{swftests => swftests.unused}/.gitignore (100%) rename test/{swftests => swftests.unused}/ArrayAccess.as (100%) rename test/{swftests => swftests.unused}/ClassCall.as (100%) rename test/{swftests => swftests.unused}/ClassConstruction.as (100%) rename test/{swftests => swftests.unused}/ConstArrayAccess.as (100%) rename test/{swftests => swftests.unused}/ConstantInt.as (100%) rename test/{swftests => swftests.unused}/DictCall.as (100%) rename test/{swftests => swftests.unused}/EqualsOperator.as (100%) rename test/{swftests => swftests.unused}/LocalVars.as (100%) rename test/{swftests => swftests.unused}/MemberAssignment.as (100%) rename test/{swftests => swftests.unused}/NeOperator.as (100%) rename test/{swftests => swftests.unused}/PrivateCall.as (100%) rename test/{swftests => swftests.unused}/PrivateVoidCall.as (100%) rename test/{swftests => swftests.unused}/StaticAssignment.as (100%) rename test/{swftests => swftests.unused}/StaticRetrieval.as (100%) rename test/{swftests => swftests.unused}/StringBasics.as (100%) rename test/{swftests => swftests.unused}/StringCharCodeAt.as (100%) rename test/{swftests => swftests.unused}/StringConversion.as (100%) rename test/{test_swfinterp.py => test_swfinterp.py.disabled} (100%) rename yt_dlp/{swfinterp.py => swfinterp.py.disabled} (100%) diff --git a/devscripts/buildserver.py b/devscripts/buildserver.py index 9b5305a67..cd544b816 100644 --- a/devscripts/buildserver.py +++ b/devscripts/buildserver.py @@ -1,3 +1,5 @@ +# UNUSED + #!/usr/bin/python3 import argparse diff --git a/devscripts/gh-pages/add-version.py b/devscripts/gh-pages.unused/add-version.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/add-version.py rename to devscripts/gh-pages.unused/add-version.py diff --git a/devscripts/gh-pages/generate-download.py b/devscripts/gh-pages.unused/generate-download.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/generate-download.py rename to devscripts/gh-pages.unused/generate-download.py diff --git a/devscripts/gh-pages/sign-versions.py b/devscripts/gh-pages.unused/sign-versions.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/sign-versions.py rename to devscripts/gh-pages.unused/sign-versions.py diff --git a/devscripts/gh-pages/update-copyright.py b/devscripts/gh-pages.unused/update-copyright.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/update-copyright.py rename to devscripts/gh-pages.unused/update-copyright.py diff --git a/devscripts/gh-pages/update-feed.py b/devscripts/gh-pages.unused/update-feed.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/update-feed.py rename to devscripts/gh-pages.unused/update-feed.py diff --git a/devscripts/gh-pages/update-sites.py b/devscripts/gh-pages.unused/update-sites.py old mode 100755 new mode 100644 similarity index 100% rename from devscripts/gh-pages/update-sites.py rename to devscripts/gh-pages.unused/update-sites.py diff --git a/devscripts/release.sh b/devscripts/release.sh index d0266f391..188b166e6 100755 --- a/devscripts/release.sh +++ b/devscripts/release.sh @@ -1,4 +1,5 @@ # Unused + #!/bin/bash # IMPORTANT: the following assumptions are made diff --git a/devscripts/wine-py2exe.sh b/devscripts/wine-py2exe.sh index dc2d6501a..8bc8ce55b 100755 --- a/devscripts/wine-py2exe.sh +++ b/devscripts/wine-py2exe.sh @@ -1,3 +1,5 @@ +# UNUSED + #!/bin/bash # Run with as parameter a setup.py that works in the current directory diff --git a/test/swftests/.gitignore b/test/swftests.unused/.gitignore similarity index 100% rename from test/swftests/.gitignore rename to test/swftests.unused/.gitignore diff --git a/test/swftests/ArrayAccess.as b/test/swftests.unused/ArrayAccess.as similarity index 100% rename from test/swftests/ArrayAccess.as rename to test/swftests.unused/ArrayAccess.as diff --git a/test/swftests/ClassCall.as b/test/swftests.unused/ClassCall.as similarity index 100% rename from test/swftests/ClassCall.as rename to test/swftests.unused/ClassCall.as diff --git a/test/swftests/ClassConstruction.as b/test/swftests.unused/ClassConstruction.as similarity index 100% rename from test/swftests/ClassConstruction.as rename to test/swftests.unused/ClassConstruction.as diff --git a/test/swftests/ConstArrayAccess.as b/test/swftests.unused/ConstArrayAccess.as similarity index 100% rename from test/swftests/ConstArrayAccess.as rename to test/swftests.unused/ConstArrayAccess.as diff --git a/test/swftests/ConstantInt.as b/test/swftests.unused/ConstantInt.as similarity index 100% rename from test/swftests/ConstantInt.as rename to test/swftests.unused/ConstantInt.as diff --git a/test/swftests/DictCall.as b/test/swftests.unused/DictCall.as similarity index 100% rename from test/swftests/DictCall.as rename to test/swftests.unused/DictCall.as diff --git a/test/swftests/EqualsOperator.as b/test/swftests.unused/EqualsOperator.as similarity index 100% rename from test/swftests/EqualsOperator.as rename to test/swftests.unused/EqualsOperator.as diff --git a/test/swftests/LocalVars.as b/test/swftests.unused/LocalVars.as similarity index 100% rename from test/swftests/LocalVars.as rename to test/swftests.unused/LocalVars.as diff --git a/test/swftests/MemberAssignment.as b/test/swftests.unused/MemberAssignment.as similarity index 100% rename from test/swftests/MemberAssignment.as rename to test/swftests.unused/MemberAssignment.as diff --git a/test/swftests/NeOperator.as b/test/swftests.unused/NeOperator.as similarity index 100% rename from test/swftests/NeOperator.as rename to test/swftests.unused/NeOperator.as diff --git a/test/swftests/PrivateCall.as b/test/swftests.unused/PrivateCall.as similarity index 100% rename from test/swftests/PrivateCall.as rename to test/swftests.unused/PrivateCall.as diff --git a/test/swftests/PrivateVoidCall.as b/test/swftests.unused/PrivateVoidCall.as similarity index 100% rename from test/swftests/PrivateVoidCall.as rename to test/swftests.unused/PrivateVoidCall.as diff --git a/test/swftests/StaticAssignment.as b/test/swftests.unused/StaticAssignment.as similarity index 100% rename from test/swftests/StaticAssignment.as rename to test/swftests.unused/StaticAssignment.as diff --git a/test/swftests/StaticRetrieval.as b/test/swftests.unused/StaticRetrieval.as similarity index 100% rename from test/swftests/StaticRetrieval.as rename to test/swftests.unused/StaticRetrieval.as diff --git a/test/swftests/StringBasics.as b/test/swftests.unused/StringBasics.as similarity index 100% rename from test/swftests/StringBasics.as rename to test/swftests.unused/StringBasics.as diff --git a/test/swftests/StringCharCodeAt.as b/test/swftests.unused/StringCharCodeAt.as similarity index 100% rename from test/swftests/StringCharCodeAt.as rename to test/swftests.unused/StringCharCodeAt.as diff --git a/test/swftests/StringConversion.as b/test/swftests.unused/StringConversion.as similarity index 100% rename from test/swftests/StringConversion.as rename to test/swftests.unused/StringConversion.as diff --git a/test/test_aes.py b/test/test_aes.py index 4fd87ce22..d2e51af29 100644 --- a/test/test_aes.py +++ b/test/test_aes.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 - from __future__ import unicode_literals # Allow direct execution diff --git a/test/test_swfinterp.py b/test/test_swfinterp.py.disabled similarity index 100% rename from test/test_swfinterp.py rename to test/test_swfinterp.py.disabled diff --git a/yt_dlp/swfinterp.py b/yt_dlp/swfinterp.py.disabled similarity index 100% rename from yt_dlp/swfinterp.py rename to yt_dlp/swfinterp.py.disabled