Code Monkey home page Code Monkey logo

sample-platform's Introduction

logo

CCExtractor

Build Status Sample-Platform Build Status Windows Sample-Platform Build Status Linux SourceForge GitHub All Releases

CCExtractor is a tool used to produce subtitles for TV recordings from almost anywhere in the world. We intend to keep up with all sources and formats.

Subtitles are important for many people. If you're learning a new language, subtitles are a great way to learn it from movies or TV shows. If you are hard of hearing, subtitles can help you better understand what's happening on the screen. We aim to make it easy to generate subtitles by using the command line tool or Windows GUI.

The official repository is (CCExtractor/ccextractor) and master being the most stable branch.

Features

  • Extract subtitles in real-time
  • Translate subtitles
  • Extract closed captions from DVDs
  • Convert closed captions to subtitles

Programming Languages & Technologies

The core functionality is written in C. Other languages used include C++ and Python.

Installation and Usage

Downloads for precompiled binaries and source code can be found on our website.

Extracting subtitles is relatively simple. Just run the following command:

ccextractor <input>

This will extract the subtitles.

More usage information can be found on our website:

You can also find the list of parameters and their brief description by running ccextractor without any arguments.

You can find sample files on our website to test the software.

Compiling CCExtractor

To learn more about how to compile and build CCExtractor for your platform check the compilation guide.

Support

By far the best way to get support is by opening an issue at our issue tracker.

When you create a new issue, please fill in the needed details in the provided template. That makes it easier for us to help you more efficiently.

If you have a question or a problem you can also contact us by email or chat with the team in Slack.

If you want to contribute to CCExtractor but can't submit some code patches or issues or video samples, you can also donate to us

Contributing

You can contribute to the project by reporting issues, forking it, modifying the code and making a pull request to the repository. We have some rules, outlined in the contributor's guide.

News & Other Information

News about releases and modifications to the code can be found in the CHANGES.TXT file.

For more information visit the CCExtractor website: https://www.ccextractor.org

License

GNU General Public License version 2.0 (GPL-2.0)

sample-platform's People

Contributors

aadibajpai avatar apoticon avatar architbhonsle avatar ashishps1 avatar canihavesomecoffee avatar dependabot-preview[bot] avatar dependabot[bot] avatar devmrfitz avatar dukkee avatar eshandhawan51 avatar flyingtwigs avatar jatana avatar kheeong avatar kvshravan avatar madan96 avatar manveerxyz avatar matejmecka avatar nikunj-taneja avatar nilsirl avatar pranavrajpal avatar pranavsid98 avatar punitlodha avatar raju249 avatar sanchaymittal avatar satyammittal avatar saurabhshri avatar t1dus avatar tarun-arora avatar thealphadollar avatar zelzhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sample-platform's Issues

[FEATURE] Comment on the opened PR if a test fails

Sample platform commit (found at the bottom of each page) : Any

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am the benevolent dictator of this platform.

Upon request:

A comment like "Your PR breaks this case: ccextractor -in -mp4 bla bla"... you can download the sample here

[BUG] Uploading files through FTP reveals the complete path on the uploads page

Sample platform commit (found at the bottom of each page) : 9c40fde

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

If a user uploads a file through the website, just the filename is being displayed.

If a user uploads the file through FTP transfer, then the entire path is being displayed. This shouldn't happen, and just have the same behaviour as the upload through the website.

Python documentation

The code of the sample platform has some documentation, but it lacks more of the so-called doc-blocks. Your task is to add them for a couple of files (minimum 3)

Steps:

  • Clone/download the GitHub repository
  • Edit the python files to add documentation (keep PEP-8 compliancy in mind)
  • Make a pull request with the changes

[BUG] Don't compare new commit on master against self

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

[Platform][INFO][2017-07-17 20:45:14,932] [<linux>] Reverted to CI for CI_Linux
[Platform][DEBUG][2017-07-17 20:45:14,932] Starting test 745
[Platform][DEBUG][2017-07-17 20:45:15,026] [<linux>] We will compare against the results of test 745

This should obviously not happen...

[PROPOSAL] Generate Build Status Badges for all build scripts and methods.

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Enable sample platform to generate a pass/fail image (preferably SVG) based on the recent commit's test result so that it can be included as image (as badge) in CCExtractor Readme file.

Brief workflow :

  • Sample Platform runs test on a commit.
  • Based on the result, certain images (Build:Success / Build:Fail) are generated at a fixed location (say sampleplatform.ccextractor.org/buildtest/results/linux-cmake.svg OR sampleplatform.ccextractor.org/buildtest/results/linux-build.svg et cetera).

It needs to generate images for all build scripts which are tested on Sample Platform.

[PROPOSAL] Automatically update the latest available CCExtractor version on the platform

Sample platform commit (found at the bottom of each page) : All

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am the benevolent dictator of this awesome tool.

Currently I still need to manually update the CCExtractor version whenever a new one is published. Now that we started using GitHub for releases, we can expand that webhook to also receive Release events, and then automatically updating our database.

Things that need to be done:

  • Insert the new version into the CCExtractorVersion table
  • Update all the outputs of the regression tests to use the output generated by this new version as a new baseline. Currently this is done by executing the next queries:
UPDATE regression_test_output SET correct = IFNULL((SELECT got FROM test_result_file WHERE regression_test_output_id = id AND test_id = 1335), correct);
UPDATE regression_test SET expected_rc = (SELECT exit_code FROM test_result WHERE regression_test_id = id AND test_id = 1335);

[BUG] New push tests to Pull requests are not getting updated on Github

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

{issue content here, replace this line with your issue content}

gh_commit and commit are null for the new synchronize push request.
We need some fix ASAP.

[BUG] [Windows CI] Missing log upload

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

On Windows, in contrast to the Linux CI, there is no option foreseen to upload the log files in case of a build failure. This should be fixed, so that in case of errors, the log file can be checked on.

[PROPOSAL] Option to enable/disable "maintenance mode" on CI VM's

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Currently there's a cron running every x minutes, shutting off a VM if it's running when not supposed to. This is good behaviour, except when we're doing maintenance or debugging on it.

A switch on the platform's admin section should be added to toggle maintenance mode for a certain VM, allowing the cron to ignore it, and preventing new jobs on said machine to be started.

Responsiveness of the platform - Pt. 1

There are some smaller issues with the responsiveness of the platform:

  • Footer has no padding towards the bottom (on smaller screens)
  • Manage my account has some margin issues
  • Hashes of samples (sha256) aren't wrapped, so they overflow.
  • Same happens to username/password of FTP upload section

[BUG] Foundation upgrade broke lay-out

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an the benevolent dictator of this repository.

For GCi, we upgraded Foundation from v 6.2.2 to v 6.4.3 (see e7c5185), but that broke quite some lay-outs. That either needs to be fixed by changing the grid layout we're using, or maybe by totally replacing Foundation with another library.

Responsiveness of the platform - pt. 2

There are some smaller issues with the responsiveness of the platform:

  • On mobile, the dropdown for the categories is too wide. Better styling is needed
  • The table of latest tests isn't any good on mobile (maybe we should use a responsive table plugin?) (fixed in #45)
  • Input type of login email field should be email instead of text (fixed in #43)

[Proposal] [Low-Priority] Report to Github even if test is in queue.

Sample platform commit (found at the bottom of each page) : 60c633a

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Just witnessed on a Windows test, that until it starts 'Preparing', the test is not reported to Github, hence it only shows Linux as test. This makes the impression that only single test is being performed. This means that while test will be in queue, Github will not be showing the test. So, report the test even if it's in queue.

Not sure if same happens when linux test is in queue.

Update assets

Some of the platform libraries we are using are somewhat outdated. We should investigate if we can upgrade them without breaking anything.

  • Foundation (currently 6.2.2, 6.4.3 is available)
  • JQuery (currently 2.2.2, 3.2.1 is the latest release)
  • Font Awesome (currently 4.5.0, 4.7.0 is available)

[ IMPROVEMENT ] Cancelling all PR tests of Blocked Users

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

The test can still be in queue or is running when the user is added to BlockedUsers.
All these test need to be canceled that will make other tests to perform as soon as possible.

Add support for running the bot in forks

(Similar to/clone of CCExtractor/ccx_gitbot#8).

Currently, the only way you can get tests run on the sample platform is by opening a PR or committing to the master branch. The latter is only possible for core contributors, so the only option for a non-core contributor is to open a PR, and push to that branch. If you just want to test something out for a fix, this is far from ideal. So the platform needs to be expanded so that:

  • A contributor registers on the platform (that's present already)
  • Links his GitHub account (present)
  • Requests access to use the platform from his fork
  • Gets approved/denied by a core contributor
  • Then can use the platform.

[BUG] Comparing output of tests with spupng

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.
  • I am the benevolent dictator of the platform.

By introducing support for windows, we are permanently breaking some tests which have paths in their output files. For example, https://sampleplatform.ccextractor.org/test/708 has a fail for regression test #162 (which simply uses "-out=spupng", and compares the windows path against the linux VM's path. Either we should split up the correct answers, or we should find a way to ignore this when comparing.

pep8 conflicts with log_configuration.py

Some conflicts with log_configuration file

  1. log_configuration.py:5:1: E302 expected 2 blank lines, found 1
  2. log_configuration.py:19:8: E101 indentation contains mixed spaces and tabs
  3. log_configuration.py:19:8: W191 indentation contains tabs
  4. log_configuration.py:19:65: W291 trailing whitespace
  5. log_configuration.py:20:1: E101 indentation contains mixed spaces and tabs
  6. log_configuration.py:20:1: W191 indentation contains tabs
  7. log_configuration.py:21:1: E101 indentation contains mixed spaces and tabs

I would want to send 1 PR.
Thanks

Display estimated time indication for queue

Clone of CCExtractor/ccx_gitbot#4

Currently the test page (for a given id) just displays

This test is still in the queue! Please check again later.

This should be improved to show how many other tests are in the queue before you, and it should also show an estimate of how long that'll take before the test gets started (we have start + end time available of previous tests)

Expected: a PEP-8 compliant PR.

Update the platform to compare against the latest commit from the master branch

Currently there's a fixed set of correct samples. This is a good start, but often it confuses persons that make PR because that set of "correct" samples might lag behind the latest state of the repository (due to newer fixes, ...).

The new proposal would be to run PR (and only PR) with the results from the latest commit.

Pointers:

UI bug in test progress

In mobile, the alignment of ticks is not okay. It is fine in desktop version.need some CSS fixes.

screenshot_20170228-164352
Would you like to work on this issue?
Yes

Extend testing of build scripts

Clones CCExtractor/ccx_gitbot#11.

The bot only tests the compilation through the build bash script (see https://github.com/canihavesomecoffee/sample-platform/blob/master/install/ci-linux/ci/runCI#L64).

Due to some recent errors with the CMake script (see CCExtractor/ccextractor#290), Carlos suggested to add more tests for the build scripts.

So the shell scripts should be modified to add testing of successful builds for the build, builddebug and CMake scripts on Linux.

It should preferably be investigated too if it's possible to test the Windows & mac build scripts.

Maybe use Jenkins for this?

[BUG] Hide media info when it's not available

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

The platform never took into account the fact that some samples can not have media info available. I quickly resolved this by adding a dummy, but ideally we should just detect missing media info, and hide the media info section in it's entirety.

[BUG] [Windows CI] Error status does not get posted

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

When the Windows machine fails to complete, it's not sending the appropriate error message back to the platform. This is most likely caused by the shutdown command starting to shut down everything instead of giving the curl time to submit the data.

Adjust the platform for non-zero exit codes

When CCExtractor/ccextractor#553 get's merged, several tests on the platform will break, because they expect a return 0 with an empty file, while the return code will be 10 and no file at all.

The platform needs adjustment so you can define an expected exit code for a test, and then the actual return code needs to be checked against this.

Relevant sections:

[IMPROVEMENT] Update Linux bootstrap

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Modify Linux bootstrap to run script from NFS instead of DL'ing from GH. Will eliminate some risk of GH being down/unreachable/...

[PROPOSAL] Implement option to add new regression test

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

To recreate:
a) In admin account, go to this page.
b) there will be options such as "Add new regression test".
c) It will add a new regression test to the database. This feature is not yet implemented. We can view the added regression test in the table present here.

Feature:
Add new regression test: Form which will support attributes such as sample, input_type, category etc and will handle error in case of wrong inputs.

Where to start: You have to complete functions given in this file.

Single to Multi-category

The current set up of the table holding the regression tests only can handle a single category per test. However, the database can handle multiple categories per test. Your job is to modify the javascript and html code so that the table can handle the multi-category tests.

Code snippets:

Create a sample database for the platform

Currently there is an empty database after installing the platform. In case of development this is not really an ideal situation to start with.

Your task is to create a small sample database, and modify the installer to ask the installer if they want to use it.

[PROPOSAL] Use some AJAX to refresh the test progress

Sample platform commit (found at the bottom of each page) : 84a11af

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.
  • I am the benevolent dictator of the platform. Bow before me.

Currently you need to refresh the progress page. Especially in the beginning it would be nice to have a polling mechanism to update the page without needing to reload, and one it's testing a timer that counts down (while slow-polling for update status).

Handle merge/rebase conflict

The sample platform automatically updates an existing repository with the newest commits from the master version of CCExtractor. However, sometimes this gives merge conflicts. Investigate the existing code and find a solution so that this doesn't halt the platform anymore.

The rebase is currently removed (see eade2d5), but it should be coming back at some point.

[PROPOSAL][BUG] Add database upgrade mechanism

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Whenever we upgrade our database model, I still need to manually make changes in the database structure. This is rather annoying, so a migration library should be used and integrated in the upgrade process instead.

Sample Platform Installation Requirements on windows Missing

Needs to add installation requirements of sample platform server on windows
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

{issue content here, replace this line with your issue content}

[FEATURE] Switch to Pipenv

Sample platform commit (found at the bottom of each page) : N/A

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

As recommended by @thealphadollar in another project, we should also adopt the use of Pipenv.

See https://opensource.com/article/18/2/why-python-devs-should-use-pipenv

Extend compilation with CMake

Currently the Linux builds are done with the build shell script only.

Extend this so it also builds and checks if the CMakefile is a success.

Worth 1 point for GSoC qualification

Expected: a PEP-8 compliant PR.

[BUG] Github status not updated when tests completed

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

{issue content here, replace this line with your issue content}
On pull request 835
image
On pull request 822
image
We can see that on both completion of linux and windows testing,
Github test status is not getting updated every-time.

Blacklist users

Clone of CCExtractor/ccx_gitbot#3

There needs to be a blacklist so that certain users can no longer queue tests, even if they have a fork of CCExtractor. This is necessary in the case that a malicious user creates a fork with a "hanging" CCX version on it, which stalls the tests, and can cause a from of DoS on the testing platform.

To solve that, there should be a possibility to manage a list of blacklisted users, which can no longer run tests themselves (see #19), and in case they open a PR on the main fork, are no longer being tested either (but an error given). This list should be manageable through the platform site (admins only), so that users can be added and removed.

General overview of things that will need to be done for this feature:

  • Model creation
  • View/Controllers that allow admins to manage the list
  • Modification of the CI methods to take the list into account

[BUG] Installer issues

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

  • Installer can block on the installation of nginx, python, pip, kvm, libvirt and virt-manager, when it's asking for the default keyboard mapping.
  • easy_install of setuptools can fail. Better be using pip install --upgrade setuptools
  • pip install can fail if libxml development libs are missing (libxml2-dev & libxslt1-dev).
  • mysql_config_editor is not always present. We need to search for alternatives.

Add unit/integration tests

Currently, the sample platform has no unit/integration tests. This is not ideal, so some tests should be added.

Flask provides a way to test the application, so it'd be great to make use of that and test some stuff that way.

If this is implemented, an integration with GitHub could be added to ensure that Pull Requests aren't breaking anything anymore too.

Improve the generated diff

The current diff for tests is already a nice improvement over the previous ugly one, but it still can use some improvements... For example, there's lines that are the same, but are still displayed... An option to hide those would be another nice improvement on that.

image
Only showing the changes would drastically reduce the size of some diffs, and make it easier to spot differences.

Relevant code:

[BUG] Sample Platform can't handle pushed release tags.

Sample platform commit (found at the bottom of each page) : 8f2b269

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

Looks like Sample Platform can not handle the pushes which are for release tags. The entry is made with commit hash "0000..." and of course the test fails. Either fetch correct commit for release or skip the release test altogether.

[BUG] Pull Request 0

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

Sample platform commit (found at the bottom of each page) : X.X.X

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am an active contributor to the platform.

screenshot from 2017-12-02 22-31-28

I saw this bug when I just opened sample platform to see the progress of my current pull request

[BUG] Recursion error when one side is empty

Sample platform commit (found at the bottom of each page) : Any

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one, eg [X]):

  • I have never visited/used the platform.
  • I have used the platform just a couple of times.
  • I have used the platform extensively, but have not contributed previously.
  • I am the benevolent dictator of this platform.

The comparison script that generates the html diffs between versions cannot handle it when one side is empty and throws a recursion error. A check for this should be added.

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.