aisbaa / deb_packages Goto Github PK
View Code? Open in Web Editor NEWProvides tools to fetch debian packages for container_layer and container_image rules.
Provides tools to fetch debian packages for container_layer and container_image rules.
A few feedbacks I have after having gone through the code of this repo. These could be split into smaller issues if you want to address them separately
In https://github.com/aisbaa/deb_packages/blob/main/deb_packages/private/deb_packages.bzl#L34 it was not obvious where and how the attributes declared to be required
are used. Its a good idea to leave some in-line comment to state that these variables will be parsed and used during update process.
Setup CI check for Go code: I think the go code in this repo should be put through nogo
equivalent of go vet
at the minimum. A better lint check would be using https://golangci-lint.run/.
Make binary attributes for update rules available. Currently they comes with an underscore prefix _buildifier
which suggest that it should not be modified by end-users.
Don't make me download update_deb_packages_linux
in https://github.com/aisbaa/deb_packages/blob/main/deb_packages/deps.bzl#L27 while I already download the http_archive of this repo. I should be able to compile the binary myself.
I don't think this repo should be linux only. One should be able to download and install Deb packages onto a debian container base image all on MacOS(or window if it matter). So having all the binaries be only compatible for MacOS would be a pain.
Provide documentation on update_deb_packages
assumptions: currently this operates under the naive assumptions where all the dependencies are kept in WORKSPACE file. We should (a) document that assumption and (b) eventually provide a way for people to not tie themselves to WORKSPACE file and instead could use a starlark macro in a different file.
Bazel group has https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/README.md where they setup buildkite integration to test changes upstream to Bazel against popular rules and provide early warnings.
Could you please follow the documentation and examples in https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/bazelci.py to setup CI for this rule repo?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.