-
Notifications
You must be signed in to change notification settings - Fork 51
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RFC19 F58 encoded JOBIDs #3045
Merged
+894
−109
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
12bcfcf
libutil: set missing errnos in fluid_decode()
grondo e08722a
libutil: fluid: add RFC19 F58 support to fluid interface
grondo 82137f7
test: libutil: add tests for FLUID_STRING_F58
grondo 9ba1b52
libutil: fluid: add fluid_parse()
grondo f8b55d4
test: libutil: add tests for fluid_parse()
grondo f5bfe0b
libjob: add flux_job_id_parse(), flux_job_id_encode()
grondo 322e6de
test: libjob: add tests for flux_job_id_parse/encode
grondo 47a9c9f
t2201-job-cmd.t: remove deprecated options in flux-job id tests
grondo 57da61e
flux-job: id: use flux_job_id_parse/encode for conversion
grondo 60c1e17
flux-job: use flux_job_id_parse for jobid input in most commands
grondo 1210081
t2201-job-cmd.t: update tests for flux-job id
grondo 4a74cdb
python: use surrogateescape when encoding args in wrapper.py
grondo 9af7943
python: add JobID class
grondo 510a90c
testsuite: add JobID class test to t0010-job.py
grondo 09917c7
flux-jobs: support other job id output formats
grondo 264b4c5
flux-jobs: set id.f58 as default jobid encoding
grondo 5cc00c5
t2800-jobs-cmd.t: Add tests for various id subformats
grondo 38844f9
flux-jobs: shorten status_abbrev width
grondo b0e2635
t2800-jobs-cmd.t: add check for status{_abbrev} headers
grondo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
libjob: add flux_job_id_parse(), flux_job_id_encode()
Problem: FLUID string encoding is not exported via a public API, but this functionality may be useful and/or necessary for callers, especially for the case of converting JOBIDs between different encodings. Add flux_job_id_parse() and flux_jobid_encode() to libjob to allow Flux API users to easily parse a Flux JOBID from any supported string representation, or encode a `flux_jobid_t` to any supported representation. The supported representations currently include all standard FLUID encodings: - decimal integer - hexidecimal integer, prefixed with "0x" - dotted hex format, "XXXX.XXXX.XXXX.XXXX" - KVS path, "job.XXXX.XXXX.XXXX.XXXX" - Words, "X-X-X-X--X-X-X-X" - RFC 19 F58 encoding, prefixed with ƒ or f Addition of these functions to the libflux API will also make it easy to add support to bindings for encoding and decoding JOBIDs. The functions are named `flux_job_id_*` instead of `flux_jobid_*` to keep consistent naming with the other libjob functions, as well as to make it easy to call the functions from Python cffi.
- v0.70.0
- v0.69.0
- v0.68.0
- v0.67.0
- v0.66.0
- v0.65.0
- v0.64.0
- v0.63.0
- v0.62.0
- v0.61.2
- v0.61.1
- v0.61.0
- v0.60.0
- v0.59.0
- v0.58.0
- v0.57.0
- v0.56.0
- v0.55.0
- v0.54.0
- v0.53.0
- v0.52.0
- v0.51.0
- v0.50.0
- v0.49.0
- v0.48.0
- v0.47.0
- v0.46.1
- v0.46.0
- v0.45.0
- v0.44.0
- v0.43.0
- v0.42.0
- v0.41.0
- v0.40.0
- v0.39.0
- v0.38.0
- v0.37.0
- v0.36.0
- v0.35.0
- v0.34.0
- v0.33.0
- v0.32.0
- v0.31.0
- v0.30.0
- v0.29.0
- v0.28.0
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.0
- v0.23.1
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.0
- v0.19.0
- v0.18.0
commit f5bfe0b7de8258c0e714e7e5f89e34a84b5a892b
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: EOVERFLOW?