Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

vmware-archive/new_version_resource

Repository files navigation

new_version_resource

Version tracking based on JQuery CSS Paths

For when you are trying to track versioned releases on websites.

Building Binaries

./scripts/build

Building docker image

sudo docker build -t your-dockerhub-username/new_version_resource .
sudo docker push your-dockerhub-username/new_version_resource

For deploying as the Buildpacks team:

./scripts/publish

Usage

You will need to setup the new resource type, and specify a url, and csspath to the versions strings on that page. An example is below:

---
resource_types:
- name: new_version_resource
  type: docker-image
  source:
    repository: cfbuildpacks/new_version_resource

resources:
  - name: pecl-igbinary
    type: new_version_resource
    source:
      url: https://pecl.php.net/package/igbinary
      csspath: table[cellpadding="2"][cellspacing="1"] tr:has(td:contains("stable")) th
      use_semver: true

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published