Conversation
Rename the augref module and feature throughout vg to "graph reference"
(gref) for clearer terminology:
- Rename src/augref.{hpp,cpp} -> src/gref.{hpp,cpp} (header guard
VG_AUGREF_HPP_INCLUDED -> VG_GREF_HPP_INCLUDED).
- Class AugRefCover -> GrefCover, all members and methods (e.g.
make_augref_name -> make_gref_name, is_augref_name -> is_gref_name,
set/get_augref_sample -> set/get_gref_sample, write_augref_segments
-> write_gref_segments, augref_intervals/augref_sample_name/
base_path_augref_counter -> gref_*).
- Update #includes in graph_caller.{hpp,cpp}, paths_main.cpp,
call_main.cpp, and deconstruct_main.cpp.
- vg paths CLI: --compute-augref/--min-augref-len/--augref-sample/
--augref-segs -> --compute-gref/--min-gref-len/--gref-sample/
--gref-segs; matching local variables and the OPT_AUGREF_SEGMENTS
enum value.
- Help text, log tags ("[augref]" -> "[gref]"), and comments updated to
say "graph reference" / "gref".
- Update test/t/11_vg_paths.t, 18_vg_call.t, 26_deconstruct.t to use
the new flag and file names.
The "_alt" path-name suffix is unchanged (it identifies graph reference
fragments in the graph data on disk and stays the same). The "augmented
graph" wording in call_main.cpp's file header refers to the unrelated
"vg augment" feature and is also unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rename the augref module and feature throughout vg to "graph reference" (gref) to be a bit simpler (in the process of harmonizing with cactus and various writeups). Proper documentation in vg still pending, but interface hopefully close to final.
Changelog Entry
To be copied to the draft changelog by merger:
Description