Giter Site home page Giter Site logo

laurentlb / rules_pkg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bazelbuild/rules_pkg

0.0 1.0 0.0 169 KB

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)

License: Apache License 2.0

Python 84.44% Go 10.66% Shell 4.90%

rules_pkg's Introduction

Bazel package building & fetching rules

Bazel rules for packaging and fetching (for Debian and other distribution channels).

There is currently no distinct discussion group for these rules. Use [email protected].

Travis CI
Build Status

Basic Rules

Package Building Rules

  • pkg - Rules for building packages of various types.

WORKSPACE Rules

  • deb_packages - fetch deb files from Debain style mirror servers

Helper tools

Background

These rules originated in the distroless project as well as discussions about the goal of that project and are intended as a way to retrieve bundled software packages from various places.

The initial scope is currently targeting Debian style distributions, because the Bazel docker rules allow optional deb and tar files to be included in their container images. That work was done in December 2017.

We are currently (June 2019) in the process of migrating the Bazel packaging rules from Bazel to this repo. Tracking issue: bazelbuild/bazel#8489.

Plan

  • DONE: slight refactor and fixup of existing package fetching rules.
  • DONE: copy rules from https://github.com/bazelbuild/bazel/tools/build_defs/pkg.
  • DONE: refactor this repo so that package fetching rules have distinct WORKSPACE requirements.
  • DONE: get them working
  • integrated with federation CI.
  • migrate rules shipped with Bazel to this rule set.
  • migrate Bazel distribution packaging to use this rule set.
  • innovate wildly.

The last 4 steps may overlap in time.

rules_pkg's People

Contributors

aiuto avatar fweikert avatar adragomir avatar j3parker avatar davidstanke avatar dslomov avatar laurentlb avatar globegitter avatar vmax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.