Пример #1
0
 def _issue_build_request(self, snap: Entry) -> Entry:
     dist = self._lp.distributions["ubuntu"]
     archive = dist.main_archive
     return snap.requestBuilds(
         archive=archive,
         pocket="Updates",
     )
Пример #2
0
 def _issue_build_request(self, snap: Entry) -> Entry:
     dist = self._lp.distributions["ubuntu"]
     archive = dist.main_archive
     return snap.requestBuilds(
         archive=archive,
         channels={
             "core18": self._core18_channel,
             "snapcraft": self._snapcraft_channel,
         },
         pocket="Updates",
     )