Author Topic: Proposal - Debian-based automatic build repository  (Read 8204 times)

0 Members and 1 Guest are viewing this topic.

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
could you list your monthly expenses?

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Worker created!
OP updated with info.
Thanks, if you have questions please post here

update_worker_votes maqifrnswa {"vote_for":["1.14.6"]} true

xeroc, I'll let you know when it's production ready. It's now fully functional, but still in testing
« Last Edit: October 27, 2015, 02:52:08 pm by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Sure .. please ping me once you feel comfortable

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
I'll add this to the docs if you don't mind ..

no problem, but maybe wait until it is production ready. I want to make sure there are no obvious bugs first, probably a couple more days. And I'll get a domain name, ssl cert, better hardware once the worker is funded.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I'll add this to the docs if you don't mind ..

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Worker Proposal for "Official" Debian and Ubuntu Binaries via PPA


To VOTE:
Code: [Select]
update_worker_votes ACCOUNTNAME {"vote_for":["1.14.6"]} true

As of now, no linux binaries of bitshares are available. This will fix that!

This worker will provide repositories for Debian based distributions for BitShares. Debian and Ubuntu are ready on both amd64 and i386. The worker will also implement Mint and extend to ARM processors (Raspberry Pi).

Preview and Installation Instructions:
http://162.243.185.205/
http://162.243.185.205/repos

Raspberry Pi Preview:
https://people.debian.org/~showard/raspbian/


They will be "official" since they are funded by the blockchain with voter approval.

What it does: Pulls from git every hour and checks for a new tag. If a new tag is present, new packages are built. Packages are gpg signed, md5sums are included in release files and signed. The Debian apt tool verifies md5sums and gpg key after download and before installation. Ubuntu packages are hosted and built on Canonical's Launchpad Service (ppa:bitshares/bitshares). Debian packages are built and hosted on the worker's VPS.

Qualifications: maqifrnswa is a Debian developer, has maintained a bitshares PPA for 1.5 years, was a delegate and a witness. maqifrnswa is the founder of the debian bitcoin team and is the maintainer of bitcoin in Debian and Ubuntu.

Internals/Security/Trust: The static pages will be SSL secured reduce chance of prevent man-in-the-middle attack. apt-get transport will follow standard distribution practices (over http). The package list, md5sums, and package info are GPG signed and will be verified automatically by apt's internal mechanisms. Sources are available for inspection via the "apt-get source" command and via the online repository.

Witness: maqifrnswa is currently running a witness. If this proposal is approved, maqifrnswa will serve as witness if needed by the network. If witness numbers should be reduced, maqifrnswa volunteers to be voted out.

Timeline: Prototype site already up and running for testing. Production-level site announced and running for Ubuntu and Debian by December. Mint and Raspbian/ARM by 2016 or early 2016. Future work to investigate: Automatically generate rpm from .deb packages and Ubuntu Snappy packages (container based Ubuntu packages).

Worker proposal costs:
$15/day (~3966 BTS)
New worker proposal every 3 months to adjust for price.
Breakdown:
  • Servers: $80 monthly for front-end and back-end servers.
  • Domain name: $15 one time
  • SSL cert: free (startssl, just to prevent man-in-the-middle attack on the info page)
  • Development time: $50/hour based on jobs at freelancer.com
    • 10 hours: server set-up development of build scripts (done)
    • 1 hour/week maintenance (new versions/bug fixing)
    • New distributions and architectures are not included yet. They will add as development time based on actual time spent in future months
Daily expenses over 90 days:
[80*3+15+(10+1*12)*50]/90 = $15.05/day
Rounded down to $15/day

Code: [Select]
create_worker maqifrnswa "2015-10-28T00:00:00" "2016-01-31T00:00:00" 396600000 "Debian/Ubuntu-based PPA" "https://bitsharestalk.org/index.php/topic,19485.msg250031.html" {"type" : "vesting", "pay_vesting_period_days" : 0} true
Code: [Select]
get_object 1.14.6
[{
    "id": "1.14.6",
    "worker_account": "1.2.6004",
    "work_begin_date": "2015-10-28T00:00:00",
    "work_end_date": "2016-01-31T00:00:00",
    "daily_pay": 396600000,
    "worker": [
      1,{
        "balance": "1.13.279"
      }
    ],
    "vote_for": "2:80",
    "vote_against": "2:81",
    "total_votes_for": 0,
    "total_votes_against": 0,
    "name": "Debian/Ubuntu-based PPA",
    "url": "https://bitsharestalk.org/index.php/topic,19485.msg250031.html"
  }
]
« Last Edit: October 30, 2015, 05:28:08 pm by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true