Repository navigation
Closed
Labels
product: hcRelates to the core "hc" binary
Description
The State of Salsa in Hipcheck Core
- Database Structs
HcEngineImplSession
- Database-Subtraits
HcEngine- (input)
core default_policy_exprdefault_query_explanationquery
- (input)
VersionQueryhc_versionnpm_versioneslint_versiongit_version
SourceQuery- (input)
target localremoteheadnameurl
- (input)
ConfigSourceconfig_dirpolicypoliy_pathgithub_api_tokencache_dirunresolved_analysis_treenormalized_unresolved_analysis_tree
RiskConfigQueryrisk_policy
LanguageConfigQuerylangs_file_rellangs_file
PracticesConfigQuerybinary_formats_file_relbinary_formats_file
AttacksConfigQuerytypo_file_reltypo_file
CommitsConfigQueryorgs_file_relorgs_filecontributor_trust_value_thresholdcontributor_trust_month_count_threshold
- Query Groups
RiskConfigQueryStorageLanguagesConfigQueryStoragePracticesConfigQueryStorageAttacksConfigQueryStorageCommitConfigQueryStorageWeightTreeQueryStorageSourceQueryStorageReportParamsStorageScoringProviderStorageVersionQueryStorageHcEngineStorage
Basically at the end of this, out of all of the above, only the use of Salsa for querying should remain. Everything else should be plain functions.
I'd break the stuff above into categories:
- Caching around the old config format.
- Caching around version information for external tools.
- Caching around information for the target of analysis (really, the old
Sourcestruct; not clear if that's even still relevant) - Caching for queries (keep this)
Metadata
Metadata
Assignees
Labels
product: hcRelates to the core "hc" binary
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity