Update template

This commit is contained in:
Aoran Zeng
2024-10-04 02:21:54 +08:00
parent d9e6840399
commit 423b041a91
22 changed files with 194 additions and 193 deletions

View File

@@ -63,20 +63,20 @@ pl_python_pdm_resetsrc (char *option)
FeatInfo
pl_python_pdm_feat (char *option)
{
FeatInfo fi = {0};
FeatInfo f = {0};
fi.can_get = true;
fi.can_reset = true;
f.can_get = true;
f.can_reset = true;
// PDM 完全支持项目级换源
fi.cap_locally = FullyCan;
fi.locally = NULL;
f.cap_locally = FullyCan;
f.locally = NULL;
fi.can_english = true;
fi.can_user_define = true;
f.can_english = true;
f.can_user_define = true;
fi.note = NULL;
return fi;
f.note = NULL;
return f;
}
// def_target_gsrf(pl_python_pdm);

View File

@@ -61,18 +61,18 @@ pl_python_poetry_resetsrc (char *option)
FeatInfo
pl_python_poetry_feat (char *option)
{
FeatInfo fi = {0};
FeatInfo f = {0};
fi.can_get = true;
fi.can_reset = true;
f.can_get = true;
f.can_reset = true;
fi.cap_locally = FullyCan;
fi.locally = NULL;
fi.can_english = false;
fi.can_user_define = true;
f.cap_locally = FullyCan;
f.locally = NULL;
f.can_english = false;
f.can_user_define = true;
fi.note = NULL;
return fi;
f.note = NULL;
return f;
}
// def_target_gsrf(pl_python_poetry);

View File

@@ -84,17 +84,17 @@ pl_python_resetsrc (char *option)
FeatInfo
pl_python_feat (char *option)
{
FeatInfo fi = {0};
FeatInfo f = {0};
fi.can_get = true;
fi.can_reset = true;
f.can_get = true;
f.can_reset = true;
fi.cap_locally = PartiallyCan;
fi.locally = "pip 不支持,其他支持";
fi.can_english = false;
fi.can_user_define = true;
f.cap_locally = PartiallyCan;
f.locally = "pip 不支持,其他支持";
f.can_english = false;
f.can_user_define = true;
return fi;
return f;
}
def_target_gsrf(pl_python);

View File

@@ -73,19 +73,19 @@ pl_python_pip_resetsrc (char *option)
FeatInfo
pl_python_pip_feat (char *option)
{
FeatInfo fi = {0};
FeatInfo f = {0};
fi.can_get = true;
fi.can_reset = true;
f.can_get = true;
f.can_reset = true;
// pip 不支持项目级换源
fi.cap_locally = CanNot;
fi.locally = NULL;
fi.can_english = true;
fi.can_user_define = true;
f.cap_locally = CanNot;
f.locally = NULL;
f.can_english = true;
f.can_user_define = true;
fi.note = NULL;
return fi;
f.note = NULL;
return f;
}
// def_target_gsrf(pl_python_pip);