gocd-contrib / deb-repo-poller

GoCD plugin to poll debain repository
Apache License 2.0
8 stars 8 forks source link

PPA support #6

Open stevendgonzales opened 9 years ago

stevendgonzales commented 9 years ago

This works great with archive.ubuntu.com, but does not seem to work with PPAs.

It can retrieve the Packages file, but doesn't seem to be abel to query any packages.

2015-04-28 22:55:33,915  WARN [qtp1633991966-29] DebRepositoryPoller:62 - [Deb Repo Check Connection] Check connection to package failed with exception - java.lang.RuntimeException: Error while querying repository with path 'http://xxxxxx/testing/dists/trusty/main/binary-amd64/' and package 'mypackage'.
stevendgonzales commented 9 years ago

Seems to be a problem with a specific PPA, will close for now

stevendgonzales commented 9 years ago

Re-opening, it looks like no matter what repo i use, the ENV var for the package location is not populated correctly:

23:13:58.568 [go] setting environment variable 'GO_PACKAGE_DEBIAN_ACCOUNT_PLUGIN_AIM_LOCATION' to value 'http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/pool/main/e/empathy/account-plugin-aim_3.8.6-0ubuntu9_amd64.deb'

When the correct value would be: http://in.archive.ubuntu.com/ubuntu/pool/main/e/empathy/account-plugin-aim_3.8.6-0ubuntu9_amd64.deb

scottmuc commented 9 years ago

I'm having the same issue. Is this project dead? I could really really really use it.

srinivasupadhya commented 9 years ago

Is this project dead?

No. will look into the PR & fix things.

scottmuc commented 9 years ago

@srinivasupadhya awesome! I hope to test it out soon.