GithubHelp home page GithubHelp logo

d2g's People

Contributors

abimaelmartell avatar bcantoni avatar blister avatar ceejayoz avatar danielamitay avatar digitarald avatar dmamills avatar dstroot avatar gabro avatar generalzero avatar karljakober avatar leemunroe avatar lurraca avatar ozten avatar qubyte avatar rissem avatar robjohnson189 avatar sahat avatar seafoodbuffet avatar sixfingers avatar westonplatter avatar yurivictor avatar

Stargazers

 avatar

Watchers

 avatar

d2g's Issues

Rewrite the version based on the epoch timestamp.

As a developer, I want to not care about version bumping, so I can make changes that are relevant to me.

We should append the epoch timestamp to the version number in the manifest.

We should also be careful to check that the client does validation of the mini-manifest's version number. If it does, we'll need to re-write the manifest to match the mini-manifest's generated version number.

Create the cert on first run

Check at npm start or npm install if the cert exists in config/.

For bonus points: check for the existence of the cert in mongo.

Install page

  • generate a mini-manifest from the zip file.
  • mozApps.installPackage()

Store signed packages in Mongo intead of the filesystem

version.js has commented out using Buffer.

That is because we are getting

/home/ozten/d2g/node_modules/mongoose/lib/schema.js:362
    throw new TypeError('Undefined type at `' + path +
          ^
TypeError: Undefined type at `_signedPackage`
  Did you try nesting Schemas? You can only nest using refs or arrays.
    at Function.Schema.interpretAsType (/home/ozten/d2g/node_modules/mongoose/lib/schema.js:362:11)
    at Schema.path (/home/ozten/d2g/node_modules/mongoose/lib/schema.js:305:29)
    at Schema.add (/home/ozten/d2g/node_modules/mongoose/lib/schema.js:217:12)
    at new Schema (/home/ozten/d2g/node_modules/mongoose/lib/schema.js:73:10)
    at Object.<anonymous> (/home/ozten/d2g/models/version.js:3:21)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

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.