Shumgrepper – Week 5

Last week i worked on improving the GUI of the app, JSON api for all the end-points,  documentation for api and few other bug fixes.

1. GUI

Here’s the top-index bar that will appear in all the pages.

Screenshot from 2014-06-24 14:26:43

 

Packages button will result in list of packages which will result into package information when a particular package is clicked.

Screenshot from 2014-06-24 10:02:43

 

 

2. Json api for all end-points.

Query made to display the files of a package.

 $ http get http://localhost:5000/package/tito/filenames

It will return all the file names present in the package.

[
    "/tito-0.5.4/wercker.yml",
    "/tito-0.5.4/titorc.5.asciidoc",
    "/tito-0.5.4/AUTHORS",
    "/tito-0.5.4/.gitignore",
    "/tito-0.5.4/.gitattributes",
    "/tito-0.5.4/test/functional/__init__.py",
    "/tito-0.5.4/test/functional/specs/extsrc.spec",
    "/tito-0.5.4/src/tito/exception.py",
    "/tito-0.5.4/src/tito/distributionbuilder.py",
    "/tito-0.5.3/test/functional/builder_tests.py",
    "/tito-0.5.3/test/functional/build_gitannex_tests.py",
    "/tito-0.5.3/src/tito/common.py",
    "/tito-0.5.3/src/tito/cli.py",
    "/tito-0.5.3/src/tito/buildparser.py",
    "/tito-0.5.3/src/tito/release/main.py",
    "/tito-0.5.3/src/tito/release/copr.py",
    "/tito-0.5.3/src/tito/release/__init__.py",
    "/tito-0.5.3/hacking/titotest-centos-6.4/Dockerfile",
    "/tito-0.5.3/hacking/titotest-centos-5.9/Dockerfile",
    "/tito-0.5.5/src/tito/tagger/zstreamtagger.py",
    "/tito-0.5.5/src/tito/tagger/rheltagger.py",
    "/tito-0.5.5/src/tito/tagger/main.py",
    "/tito-0.5.5/src/tito/tagger/__init__.py",
    "/tito-0.5.5/src/tito/release/obs.py",
    "/tito-0.5.5/src/tito/release/main.py",
    "/tito-0.5.5/src/tito/release/copr.py",
    "/tito-0.5.5/src/tito/release/__init__.py",
    "/tito-0.5.5/rel-eng/custom/custom.py",
    "/tito-0.5.5/hacking/runtests.sh",
    "/tito-0.5.5/bin/tar-fixup-stamp-comment.pl",
    "/tito-0.5.5/bin/generate-patches.pl"
]

Similarly queries can be made to compare the packages, to display information by sha1sum, sha256sum, tarsum and md5sum.

 

3. Added documentation on how to query results via API.

 

Screenshot from 2014-06-24 10:10:40

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s