Git Product home page Git Product logo

online-phpdoc's People

Contributors

isra00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

marcoslhc

online-phpdoc's Issues

Create a DB table for job logging

table log_job (engine=ARCHIVE)

  • id_job
  • started
  • time_download
  • time_generate
  • generator_output
  • generator_status

Advantages:

  • Optimize DB by making the job table lighter (move the current output, time_download and time_generated fields) and having a log table with the ARCHIVE engine
  • Separate the job queueing from the logging aspect, which allows a smoother transition to an external queue system (RabbitMQ, etc) and optimizes future log analysis.

Remove code and docs for removed repos

Use case
1.- User generates docs for a given GitHub repo
2.- User deletes the repo from GitHub
3.- Repo code and docs stay in the server forever.

We should write a script which checks that every repo is still existing in GitHub.

Possible implementations (they're not supplementary but complementary):
1.- Removal webhook (if it exists!)
2.- Cronjob. We can optimize it checking only the repos with no activity in the last months.

Remove webhooks when stopping tracking

As a user, i must be able to:
1.- I start tracking a repo. For doing so, the system will add a webhook to the repo with the notification URL
2.- I stop tracking the repo. The webhook from GitHub and the rows from repo and job tables are removed.

Waiting in the queue - how long?

How long does it take until the Repo gets crawled when it's in the status "Waiting in the queue" (and I synched new commits to it).

Another question: do you specifically watch for code file changes or does a sync of GH files (i.e. Readme.md) also trigger the online-phpdoc parser?

Log job times

Use new time_download and time_generate fields in job table. Update create_tables.sql with those fields.

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.