WIP: impl profile evaluation #7
Reference in New Issue
Block a user
Delete Branch "feature/profiles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
82b292263ctoccf45347c4ce113dd0c4tod286909fb3@@ -0,0 +109,4 @@.map(|s| Eapi::parse(s.trim()).map_err(str::to_string)){Ok(Ok(eapi)) => Some(eapi),Ok(Err(rest)) => return Err(Error::Parser(rest)),I think the default behavior for no eapi file per the spec is to treat it as eapi 0. Do we do that here, or are we erroring out if there's no eapi file?
Maybe it should assign eapi 0 on failure to parse (no eapi file), then later during evaluation of the parsed profile you throw an error saying you don't support eapi 0. That way eapi 0 (or other versions) could be supported later without having to change parsing logic.
Profiles directory checklist per eapi 8 specification:
8d0c48ae0fto90feca00b6impl profile evaluationto WIP: impl profile evaluation90feca00b6todb43560be5db43560be5toe5e2c98e81e5e2c98e81toea2aa940eaf279e07367toea4d8e706bea4d8e706bto6194121072b929ddcafetod2e8078c703d496d23catof0f90af744f0f90af744tof7d9b95875f7d9b95875toa4e73069f4a4e73069f4to789a68ff36View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.