Skip to content

im7mortal/release-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Quick test.

docker run -p 8080:8080 registry.hub.docker.com/im7mortal/release-analyzer:latest
curl http://localhost:8080/apache/airflow/bloat\?start=v2.8.3\&end=v2.9.2

Run

The fastest way to run it. Is use Dockerfile.

docker build -t release-analyzer:latest . && docker run -p 8080:8080 release-analyzer:latest

Or run run.sh

Alternatively, you can compile the Go binary for your operating system using the command:

go build .

Notes

For now I implemented the simplest asset name matching which satisfies apache(- or _)airflow-(version).tar.gz pattern. As next step I would use regex for string matching.

	for _, asset := range release.Assets {
		if strings.HasSuffix(*asset.BrowserDownloadURL, ".tar.gz") &&
			!strings.Contains(*asset.BrowserDownloadURL, "source") {
			// ...
		}
	}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors