[ARGUS] Json labels branch on GitHub

Carter Bullard carter at qosient.com
Fri Apr 8 15:07:28 EDT 2022


Gentle people,
I’ve finished the json label format changes for the clients distribution.  This new feature, configured using the rarc file, will upgrade a legacy label to a json formatted label.  As I mentioned earlier, when we move to argus-4.0, the json label will be the default label format and conversion will happen automatically ...

I’ve tested it out and it works pretty good, and seems to do the right thing when we print in fixed width, csv, JSON and XML printed output.
Please give this branch a test run, and I’ll merge it into master next week …

Hope all is most excellent,
Carer


> On Apr 1, 2022, at 12:24 PM, Carter Bullard <carter at qosient.com> wrote:
> 
> Gentle people,
> I’ve uploaded a  branch to Github’s openargus/clients repo that implements the json label conversion code in the argus-clients library, carter/add-label-format.  Labels are upgraded to json on input,  based on the rarc configuration.  I have not implemented a downgrade option, so if the label is already json, we're currently not converting to legacy format.
> 
> Take a look.  I need to update the ralabel.1 program so that custom labels do the right thing, and I need to validate that the JSON that is generated when we print the entire record as JSON is correct (need to assure the JSON in the JSON has the right format).
> 
> I think the work flow for these types of projects could be to have a branch for each project, and merge them into master when we’re ready / done.
> I’ll try to keep all the branches up to date with any changes in master.
> 
> Hope all is most excellent,
> Carter
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20220408/a2a4695d/attachment.htm>


More information about the argus mailing list