From 89b77fbb517d624bda5715a803cd90b91a16277b Mon Sep 17 00:00:00 2001 From: pac23 Date: Aug 21 2019 17:23:51 +0000 Subject: moving around some test data --- diff --git a/config_depre.ini b/config_depre.ini deleted file mode 100644 index d8276f6..0000000 --- a/config_depre.ini +++ /dev/null @@ -1,82 +0,0 @@ -[TAIGA] -SERVICE_ID = taiga -SERVICE_TOKEN = taiga_auth -PROJECT_ID = 325667 -DEFAULT_TAIGA_URL = https://teams-api.fedoraproject.org -CUSTOM_TAIGA_URL = https://api.taiga.io -TAIGa_SITE_ISSUE_URL = https://tree.taiga.io/project/pac_23-test-changes-tracker-kanban/issue/ -ISSUE_STATUS_NEW = 21 -ISSUE_STATUS_NEEDS_INFO = 22 -ISSUE_STATUS_READY_FOR_WRANGLER = 12 -ISSUE_STATUS_PROCESSED = 24 -ISSUE_CA_VERSION = 25 -US_STATUS_ANNOUNCED = 25 -US_STATUS_R_FESCO = 30 -US_STATUS_ACCEPTED = 31 -US_STATUS_ARCHIVED = 32 -US_STATUS_CODE_COMPLETE = 33 -US_STATUS_TESTABLE = 34 - -TEST_ISSUE_STATUS_NEW = 2283176 -TEST_ISSUE_STATUS_NEEDS_INFO = 2283180 -TEST_ISSUE_STATUS_READY_FOR_WRANGLER = 2283232 -TEST_ISSUE_STATUS_PROCESSED = 2283182 -TEST_US_STATUS_NEW = 1952887 -TEST_US_STATUS_ANNOUNCED = 1952888 -TEST_US_STATUS_R_FESCO = 1952889 -TEST_US_STATUS_ACCEPTED = 1952891 -TEST_US_STATUS_ARCHIVED = 1952890 -TEST_US_STATUS_CODE_COMPLETE = 1892839 -TEST_US_STATUS_TESTABLE = 1952932 - -TEST_ISSUE_CA_SYSTEM_WIDE_CHANGE = 11370 -TEST_ISSUE_CA_SUMMARY = 11372 -TEST_ISSUE_CA_BUGZILLA_CONTACT = 11373 -TEST_ISSUE_CA_RELENG_TICKET = 11371 -TEST_ISSUE_CA_TRADEMARK_APPROVAL = 11374 -TEST_ISSUE_CA_OWNERS = 11375 -TEST_ISSUE_CA_FESCO_TICKET = 534454574 -TEST_ISSUE_CA_BUGZILLA_TRACKER = 21930 -TEST_ISSUE_CA_RELEASE_NOTES = 21931 -TEST_ISSUE_CA_CONTINGENCY = 11376 -TEST_ISSUE_CA_MASS_REBUILD = 11377 -TEST_ISSUE_CA_POLICY_CHANGE = 11378 -TEST_ISSUE_CA_MODIFIES_DELIVERABLES = 11379 -TEST_ISSUE_CA_VERSION = 11383 -TEST_US_CA_SYSTEM_WIDE_CHANGE = 21923 -TEST_US_cA_SUMMARY = 21924 -TEST_US_CA_BUGZILLA_CONTACT = 21925 -TEST_US_CA_RELENG_TICKET = 21926 -TEST_US_CA_TRADEMARK_APPROVAL = 21927 -TEST_US_CA_OWNERS = 21928 -TEST_US_CA_FESCO_TICKET = 21929 -TEST_US_cA_BUGZILLA_TRACKER = 21930 -TEST_US_CA_RELEASE_NOTES = 21931 -TEST_US_CA_CONTINGENCY = 21932 -TEST_US_CA_MASS_REBUILD = 21933 -TEST_US_CA_POLICY_CHANGE = 21934 -TEST_US_CA_MODIFIES_DELIVERABLES = 21935 -TEST = yes - -[PAGURE] -SERVICE_ID = pagure - -[BUGZILLA] -SERVICE_ID = bugzilla -SERVICE_TOKEN = bugzilla_auth -project_id = 315827 # for test only -DEFAULT_BUGZILLA_URL = https://bugzilla.redhat.com/ -CUSTOM_BUGZILLA_URL = https://bugzilla.redhat.com/ -TEST = no - -[EMAIL] -SERVICE_ID = email -DEFAULT_EMAIL_ID = bcotton@redhat.org -CUSTOM_EMAIL_ID = manasmangaonkar@gmail.com -TEST_LIST: ["manas.man95@gmail.com","bcotton@redhat.org"] -LIST: [devel@lists.fedoraproject.org,devel-announce@lists.fedoraproject.org] -PORT = 465 -SMTP_SERVER = smtp.gmail.com -TEST = yes -# 1892835 - diff --git a/config_load.py b/config_load.py deleted file mode 100644 index b2b55e7..0000000 --- a/config_load.py +++ /dev/null @@ -1,34 +0,0 @@ -from configparser import SafeConfigParser -import os - - -class Config: - """Interact with configuration variables.""" - - configParser = SafeConfigParser() - configFilePath = (os.path.join(os.getcwd(), 'config.ini')) - - @classmethod - def initialize(cls, new_config): - """Start config by reading config.ini.""" - cls.configParser.read(cls.configFilePath) - - @classmethod - def taiga(cls, key): - """Get taiga values from config.ini.""" - return cls.configParser.get('TAIGA', key) - - @classmethod - def pagure(cls, key): - """Get pagure values from config.ini.""" - return cls.configParser.get('PAGURE', key) - - @classmethod - def bugzilla(cls, key): - """Get bugzilla values from config.ini""" - return cls.configParser.get('BUGZILLA', key) - - @classmethod - def email(cls, key): - """Get bugzilla values from config.ini""" - return cls.configParser.get('EMAIL', key) diff --git a/logger.py b/logger.py deleted file mode 100644 index 5b1afe7..0000000 --- a/logger.py +++ /dev/null @@ -1,28 +0,0 @@ -import sys -import traceback -import logging - -def setup_logging_to_file(filename): - logging.basicConfig( filename=filename, - filemode='a', - level=logging.DEBUG, - format= '%(asctime)s - %(levelname)s - %(message)s', - ) - -def extract_function_name(): - """Extracts failing function name from Traceback - http://stackoverflow.com/questions/2380073/\ - how-to-identify-what-function-call-raise-an-exception-in-python - """ - tb = sys.exc_info()[-1] - stk = traceback.extract_tb(tb, 1) - fname = stk[0][3] - return fname - -def log_exception(e): - logging.error( - "Function {function_name} raised {exception_class} ({exception_docstring}): {exception_message}".format( - function_name = extract_function_name(), #this is optional - exception_class = e.__class__, - exception_docstring = e.__doc__, - exception_message = e.message)) diff --git a/test.html b/test.html deleted file mode 100644 index 894f6cc..0000000 --- a/test.html +++ /dev/null @@ -1,700 +0,0 @@ - - - - Releases//changeset - - - - - - - Fedora People - fedorapeople.org - - - - - -
- - -
-
-
- -

Fedora F 32 changeset


- -

Accepted fedora 32 System Wide Change Proposals

- - - - -

Test issue for convert to user story test

-

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

test listing issues dummmy

-

test test test test test

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Overwrite test issue

-

test issue

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test of overwrite

-

test of issue and test of issue

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

OW test

-

new test

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

OW test

-

test

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

OW test

-

test

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

test issue for versions

-

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Test Issue for link feed

-

Time:16:15 -Location : Somewhere in Mumbai,India -Objective: Test and Deploy Links -Final Objective: Complete Conversion in Tool -Test: Yes

-

Owners

-
  • owners : -
  • -
  • Release Notes owner:
  • -
-
- - - -

Accepted Fedora F 32 Self Containted Change Proposals

- - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - -

- Test issue for convert to user story test -

-

- The quick brown fox jumped over the lazy dog -

-

Owners

-
  • - Owner: -
  • -
  • - Release notes owner : -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tplate.html b/tplate.html deleted file mode 100644 index 958d13b..0000000 --- a/tplate.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - Releases/{{ fedora_version }}/changeset - - - - - - - Fedora People - fedorapeople.org - - - - - -
- - -
-
-
- -

Fedora F {{ fedoraversion }} changeset


- -

Accepted fedora {{ fedoraversion }} System Wide Change Proposals

-{% for n in changes %} - {% if n['type'] is sameas true %} -

{{ n['title'] }}

-

{{ n['summary'] }}

-

Owners

-
  • owners : {{ n['owners'] }} -
  • -
  • Release Notes owner:
  • -
-
- {% endif %} -{% endfor %} - -

Accepted Fedora F {{ fedoraversion }} Self Containted Change Proposals

-{% for n in changes %} - {% if n['type'] is sameas false %} -

- {{ n['title'] }} -

-

- {{ n['summary'] }} -

-

Owners

-
  • - Owner: {{ n['owners'] }} -
  • -
  • - Release notes owner : {{ n['release_owners'] }} -
- - {% endif %} -{% endfor %} - - \ No newline at end of file diff --git a/tplate1.html b/tplate1.html deleted file mode 100644 index a99d7c6..0000000 --- a/tplate1.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Releases/{{ fedora_version }}/changeset - - - - - - - Fedora People - fedorapeople.org - - - - - -
- - -
-
-
- -Fedora{{fedora-version }} chaneset </t> - -<h2> Accepted fedora {{ fedora-version}} System Wide Change Proposals -{% for n in changes %} - {% if n[type] == "True" %} - <h4> {{ n['title'] }} </h3> - <p> {{ n['summary'] }} </p> - <ul><li>owners : {{ n['owners'] }} </li> - <li> Release Notes owner: </li><ul> - <ul><li> - Tracking Bug : <a href="{{ Bugzilla }}"> - </a></li> - <li> - Status : {{ n[status] }} - </li></ul> - {% endif %} -{% endfor %} - -<h2>Accepted Fedora {{ fedora-version }} Self Containted Change Proposals </h2> -{% for n in changes %} - {% if n[type] == "False" %} - <h4> - {{ n['title'] }} - </h4> - <p> - {{ n['summary'] }} - </p> - <h4> Owners </h4> - <ul><li> - Owner: {{ n['owners'] }} - </li> - <li> - Release notes owner : {{ n['release_owners'] }} - </li></ul> - <ul><li> - Tracking Bug : <a href= " {{ Bugzilla }} "> - </a></li> - <li> - Status : {{ Change_Status }} - </li></ul> - {% endif %} -{% endfor %} -</body> -</html> \ No newline at end of file