Giter VIP home page Giter VIP logo

disruptor's Introduction

Disruptor

built with nix

ci-nix ci-bzl-projects

Example

$ ./nix-shell.sh
...
$ cd projects/bzl4
$ bazel build //...

Supported machines

At the moment, the project is built with {x86/x64, aarch64} architecture in mind, targeting GNU Linux-based distributions. Machine should either have user namespaces for unprivileged users enabled or have nix pre-installed in single-user mode.

To be implemented:

  • MacOS support
  • Fallback to proot for machines without support for user namespaces for unprivileged users

Development shell

Simply type ./nix-shell.sh to be dropped into a shell with all batteries included.

Project utilizes nix to deliver a uniform, homogeneous development environment for each of its users & contributors - you are going to be using the same dependencies (bash, core utils, system libraries, bazel etc.), installed from the same source and configured in the same way. No more “works on my machine”-syndrome, as everyone has reproducible and identical working environments.

Note: Dependencies are automatically loaded / unloaded, as the user traverses the project tree - i.e. entering projects/bzl4 will result in loading up all of the project dependencies, while moving out of the example project tree will unload bazel. This is done to stay relatively lean in terms of what the average user needs to load.

Technical details

  • One can install nix globally for the user, which will then prevent the nix-shell.sh script from running everything from chrooted environment
  • Nix with daemon enabled is not supported (so called multi-user installation) - this is due to nix configuration that happens on the fly, which would need to be propagated to daemon

Tracking decisions

It has been decided to track important choices in this project, with the help of Architectural Decision Records (ADRs for short, concept explained here or here). The main intent is to ensure everyone developing the project is well aligned with it's goals, always can quickly get up to speed or propose a new direction.

The ADRs are to be placed in docs/adrs directory of this repository and follow conventions described in the initial adr.

disruptor's People

Contributors

patryk-kozak avatar aleksandergondek avatar r2r-dev avatar borancar avatar pl-misuw avatar acmck 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.