#313 Remove mentions of PDC
Merged 4 years ago by lsedlar. Opened 4 years ago by lsedlar.
lsedlar/odcs remove-pdc  into  master

file modified
-1
@@ -15,7 +15,6 @@ 

          python3-fedmsg \

          systemd \

          pungi \

-         python3-pdc-client \

          python3-fedora \

          python3-funcsigs \

          python3-openidc-client \

file modified
-4
@@ -36,10 +36,6 @@ 

  

      SSL_ENABLED = False

  

-     PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'

-     PDC_INSECURE = False

-     PDC_DEVELOP = True

- 

      # Users are required to be in allowed_clients to generate composes,

      # you can add group names or usernames (it can be normal user or host

      # principal) into ALLOWED_CLIENTS. The group names are from ldap for

@@ -332,7 +332,7 @@ 

        to generate the compose and we can find out if we can reuse that compose

        later

      - For MODULE PungiSourceType, resolves the modules without the "release"

-       field to latest module release using PDC.

+       field to latest module release using MBS.

      """

      if compose.source_type == PungiSourceType.REPO:

          # We treat "revision" of local repo as koji_event for the simplicity.

file modified
-1
@@ -6,7 +6,6 @@ 

  moksha.hub

  httplib2

  mock

- pdc-client

  pyOpenSSL

  python-fedora

  # qpid-python  # Python2 only; not necessary; just to hide warning messages

file modified
+3 -2
@@ -129,8 +129,9 @@ 

  

  def mock_mbs(mdversion=2):

      """

-     Decorator that sets up a test environment so that calls to the PDC to look up

-     modules are redirected to return results from the TEST_MODULES array above.

+     Decorator that sets up a test environment so that calls to the MBS to look

+     up modules are redirected to return results from the TEST_MODULES array

+     above.

      """

      def wrapper(f):

          @wraps(f)

ODCS does not use it anymore, it instead queries MBS directly. And it does not need to be passed to Pungi since recent versions also do not use it in any way.

rebased onto f16dd98

4 years ago

Pull-Request has been merged by lsedlar

4 years ago