IPGP / IPGP/webobs

replaces readView, readProc, readForm and readSefran by readGrid (Grids.pm)

Open
#203 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
21
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Presently many Perl scripts use the dedicated sub functions readView, readProc, readForm and readSefran to read a single GRID configuration:

CODE/cgi-bin/elapsedTime.pl
CODE/cgi-bin/formGRID.pl
CODE/cgi-bin/formNODE.pl
CODE/cgi-bin/formREQ.pl
CODE/cgi-bin/get_jsonVFLOW.pl
CODE/cgi-bin/gvTransit.pl
CODE/cgi-bin/nloc.pl
CODE/cgi-bin/postCLB.pl
CODE/cgi-bin/postREQ.pl
CODE/cgi-bin/showGRID.pl
CODE/cgi-bin/showNODE.pl
CODE/cgi-bin/showOUTG.pl
CODE/cgi-bin/showOUTR.pl
CODE/cgi-bin/update_theia_db.pl
CODE/cgi-bin/wow.pl

This could be replaced by readGrid that returns a simple hash + the dedicated functions might use readGrid to built the HoH for a list of grids.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Grids.pm by comparing readView, readProc, readForm, and readSefran, then trace their callers across the listed CODE/cgi-bin/*.pl scripts. Define the shared hash returned by readGrid and check how the dedicated functions build a HoH for multiple grids. Done means the listed callers and dedicated functions use the common reader without changing GRID configuration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.