Giter Site home page Giter Site logo

flixis / find_testlog Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.31 MB

Quickly find and open testlogs for Company products

License: GNU General Public License v3.0

Rust 48.50% Python 10.13% HTML 14.23% JavaScript 13.38% CSS 13.76%
rust-lang testlog

find_testlog's People

Contributors

flixis avatar

Watchers

 avatar

find_testlog's Issues

Improve search

Search entire dir per PN for SN, unless -y is specified.

In production should result in only 1 or 2 log files.

Show latest 5 testlogs

Currently it only prints the latest testlog location and opens it

What I actually want is the latest 5 testlogs in a list in CLI

find_testlog <SN> <PN>

results
---------------
log1
...
log5
-------------

Type [number] to open logfile

search cannot differentiate between AET and PTF search when no date is given

When creating a search, the algorithm can search all folders if desired by not specifying the date.
However, by doing this the search will now return all testresults regardless of the "test_env" argument.

the desired results would only show the results from the selected "test_env".

The problem arrives with the current file structure:
..\<pn>\<date>\<testenv>\..

How fix?

CLI Automatic opening

Currently automatic opening is disabled, instead this should be changed to a selection type.
Where you can give a number from the list to then open the log file.

# 1 <path_to_file>
# 2 <path_to_file>
# 3 <path_to_file>
...

$ 3 

Opens log # 3

App crashes

  • Currently there is a chance that the app may kill itself on launch. (tmp fix 6cf9183)
  • App crashes when trying to find SN/PN that does not exist in large database.
  • Unhanded structures may result in crashing for GUI (fixed a2166f8 & 9cdf0fe) ->
    Q:\TestLogs\<PN>\2020-W18\FT\20200502.120141.<PN>.<SN>.FT.log
    Q:\TestLogs\6107-1605-0900\2020-W19\FI\20200504.082753.<PN>.<SN>.FI.log

Possible solutions:

  • Splitting search into its own thread to prevent this from happening

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.