Code Monkey home page Code Monkey logo

canaima-judge's Introduction

Steps to build and try the functionality of a package

Create the Work Environment:

Install of depends to tests:

Dependencies generic to build a package

  • git.
  • git-buildpackage.
  • build-essential.

git-buildpackage and build-essentia are Meta-Packages that have all depends generic to build a packages

apt install git-buildpackage build-essential

Dependecies to execute the test of PIUPARTS:

  • piuparts.
  • pbuilder.
$ apt install piuparts pbuilder
Create pbuilder to piuparts:
$ pbuilder --create

Create pbuilder to packages amd64 and i386

Execute AMD64:

$ DIST=jessie ARCH=amd64 git-pbuilder create

and i383:

$ DIST=jessie ARCH=amd64 git-pbuilder create

If you dont want to damage your machine for the test the functionality of a package:

---- Section in build -------

################################################

Build of package

1. Git clone the package

Execute:

$ git clone <url-repository>

2. Check the scripts of Maintainer

3. Build Package

Build without pbuilder:

$ gbp buildpackage -tc --git-tag --git-retag -uc -us --git-debian-branch="branch"

Build with pbuilder and a package amd64

$ gbp buildpackage --git-pbuilder --git-dist=jessie --git-arch=amd64 --git-upstream-tree=master -us -uc 

i386 package:

$ gbp buildpackage --git-pbuilder --git-dist=jessie --git-arch=i386 --git-upstream-tree=master -us -uc 

4. Piuparts

Execute:

piuparts -p -d stable <package_generated.deb> -D debian --mirror="http://ftp.debian.org/debian" --extra-repo="deb http://200.11.148.219/canaima chimanta usuarios" --extra-repo="deb http://200.11.148.219/linuxmint betsy main import upstream" --extra-repo="deb http://200.11.148.219/seguridad jessie/updates main contrib non-free"  --extra-repo="deb http://multimedia.canaima.softwarelibre.gob.ve jessie main non-free" -l <path_to_log>

5. Test of functionality

canaima-judge's People

Contributors

vpino avatar

Watchers

James Cloos avatar  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.