-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
support emoji encoding for Flux jobids #5174
Commits on May 16, 2023
-
libutil: add basemoji, an emoji uint64_t encoding
Problem: There is no implementation for encoding FLUIDs to emoji as described in RFC 19. Add basemoji, an encoding which uses a table of 576 standard Unicode emoji to represent 64 bit unsigned integers in base 576.
Configuration menu - View commit details
-
Copy full SHA for 33d428d - Browse repository at this point
Copy the full SHA 33d428dView commit details -
libutil/test: add tests for basemoji implementation
Problem: There are no unit tests for the basemoji encoding for 64 bit unsigned integers. Add a set of simple unit tess for basemoji to libutil/test.
Configuration menu - View commit details
-
Copy full SHA for 805bc6d - Browse repository at this point
Copy the full SHA 805bc6dView commit details -
libutil: fluid: support FLUID_STRING_EMOJI
Problem: Encoding FLUIDs to a string of emoji is not supported. Use the libutil/basemoji implementation to add a FLUID_STRING_EMOJI string type to fluid_string_type_t. Make sure FLUID_STRING_EMOJI is supported with fluid_parse(3).
Configuration menu - View commit details
-
Copy full SHA for eb4dc88 - Browse repository at this point
Copy the full SHA eb4dc88View commit details -
libutil/test: fix typos in fluid unit test
Problem: There are a couple cut-and-paste errors in the fluid unit test that print type=MNEMONIC when they mean type=DOTHEX. Fix the typos.
Configuration menu - View commit details
-
Copy full SHA for a3ab55f - Browse repository at this point
Copy the full SHA a3ab55fView commit details -
libutil/test: test FLUID_STRING_EMOJI
Problem: There are no unit tests for the FLUID_STRING_EMOJI encoding. Amend the existing fluid unit tests to exercise this encoding.
Configuration menu - View commit details
-
Copy full SHA for 2a01426 - Browse repository at this point
Copy the full SHA 2a01426View commit details -
libjob: support emoji jobid encoding
Problem: libjob does not support encoding flux_jobid_t to emoji. Add an "emoji" encoding that uses FLUX_STRING_EMOJI to encode flux_jobid_t as a string of emoji using the basemoji implementation.
Configuration menu - View commit details
-
Copy full SHA for 3c28891 - Browse repository at this point
Copy the full SHA 3c28891View commit details -
libjob/test: test the emoji flux_jobid_t encoding
Problem: No tests in the libjob unit testsuite ensure the "emoji" jobid encoding works as intended. Add some expected emoji output to the libjob unit tests.
Configuration menu - View commit details
-
Copy full SHA for 6e9499c - Browse repository at this point
Copy the full SHA 6e9499cView commit details -
python: add emoji property to JobID class
Problem: A Python JobID object can't return the emoji encoding of a jobid since there's no corresponding class property. Add an `emoji` property to the JobID class which returns the emoji encoding of the jobid.
Configuration menu - View commit details
-
Copy full SHA for 3c8de96 - Browse repository at this point
Copy the full SHA 3c8de96View commit details -
testsuite: test JobID emoji encoding
Problem: The Python job tests do not test the emoji encoding for JobIDs. Add a tests for expected 'emoji' encodings of JobIDs.
Configuration menu - View commit details
-
Copy full SHA for be5a75c - Browse repository at this point
Copy the full SHA be5a75cView commit details -
python: support id.emoji in output formats
Problem: The Python job formatting class does not support id.emoji, even though emoji is valid jobid encoding. Add `id.emoji` to various dictionaries as required to support this encoding in output formats.
Configuration menu - View commit details
-
Copy full SHA for 2a45ed7 - Browse repository at this point
Copy the full SHA 2a45ed7View commit details -
doc: add id.emoji to flux-jobs(1)
Problem: `id.emoji` is missing from the list of available field names in flux-jobs(1). Add id.emoji to the list of valid field names in the flux-jobs(1) manual.
Configuration menu - View commit details
-
Copy full SHA for 631e983 - Browse repository at this point
Copy the full SHA 631e983View commit details