Skip to content
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

Deprecate builtins #1378

Open
1 of 2 tasks
dsalaza4 opened this issue Sep 6, 2024 · 3 comments
Open
1 of 2 tasks

Deprecate builtins #1378

dsalaza4 opened this issue Sep 6, 2024 · 3 comments
Assignees

Comments

@dsalaza4
Copy link
Contributor

dsalaza4 commented Sep 6, 2024

Their learning curve is higher than language-specific tools.

Errors require high nix knowledge to debug.

We mainly use them to keep language-specific dependencies as derivations for cache, but for large projects, many times running npm ci is faster than makeNodeJsModules.

I would advise getting rid of all builtins that focus on building language-specific dependencies as derivations and install them on runtime using poetry install or npm ci

Deprecate:

  • makeNodeJs*
  • makePython*
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 22, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 22, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 22, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 22, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
rohaquinlop added a commit to rohaquinlop/makes that referenced this issue Oct 23, 2024
- Deprecate `makeNodeJsModules` and `makeNodeJsEnvironment`.

Signed-off-by: Robin Quintero <[email protected]>
dsalaza4 added a commit that referenced this issue Oct 23, 2024
feat(build): #1378 deprecate makenodejs
@dsalaza4 dsalaza4 changed the title Deprecate poetry2nix and node2nix Deprecate builtins Dec 12, 2024
@dsalaza4
Copy link
Contributor Author

dsalaza4 commented Dec 12, 2024

Let's also deprecate:

  • testPython
  • calculateScorecard
  • lintPython
  • formatPython
  • securePythonWithBandit
  • secureKubernetesWithRbacPolice
  • deployNomad
  • taintTerraform
  • lintClojure
  • workspaceForTerraformFromEnv
  • makeSopsEncryptedFile
  • secretsForKubernetesConfigFromAws
  • formatJavascript
  • formatScala
  • lintWithLizard

dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate testPython
as it is too specific to the python language
and lacks too much flexibility.
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate testPython
as it is too specific to the python language
and lacks too much flexibility.
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate testPython
as it is too specific to the python language
and lacks too much flexibility.
- Remove unused tests
- Remove unused autocomplete
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate testPython
as it is too specific to the python language
and lacks too much flexibility.
- Remove unused tests
- Remove unused autocomplete
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 12, 2024
refac(back): #1378 deprecate test python
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate calculate scorecard
as it easily breaks with false positives
and we're not using it
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate calculate scorecard
as it easily breaks with false positives
and we're not using it
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate calculate scorecard
as it easily breaks with false positives
and we're not using it
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 12, 2024
refac(back): #1378 deprecate calculate scorecard
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate secure python with bandit
as ruff replaces it
- Remove jobs from pipeline
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit that referenced this issue Dec 12, 2024
refac(back): #1378 deprecate bandit
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 12, 2024
- Deprecate secure k8s with rbacpolice
as we already perform this process via machine
and rbacpolice is not being maintained anymore
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 13, 2024
refac(back): #1378 deprecate lint python
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate formatPython as it was replaced by ruff
- Remove documentation
- Remove CI jobs

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 13, 2024
refac(back): #1378 deprecate format python
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate secretsForKubernetesConfigFromAws
as it is not being used
- Remove documentation

Signed-off-by: Daniel Salazar <[email protected]>
@dsalaza4 dsalaza4 self-assigned this Dec 13, 2024
jandresh added a commit that referenced this issue Dec 13, 2024
refac(back): #1378 deprecate k8s config from aws
@dsalaza4
Copy link
Contributor Author

Let's also deprecate:

  • testPython
  • calculateScorecard
  • lintPython
  • formatPython
  • securePythonWithBandit
  • secureKubernetesWithRbacPolice
  • deployNomad
  • taintTerraform
  • lintClojure
  • workspaceForTerraformFromEnv
  • makeSopsEncryptedFile
  • secretsForKubernetesConfigFromAws
  • formatJavascript
  • formatScala
  • lintWithLizard

I will release a major makes version deprecating all these builtins (low impact)

dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Add new 24.12 pre-release version
- Make 24.09 stable version

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 13, 2024
@dsalaza4
Copy link
Contributor Author

dsalaza4 commented Dec 13, 2024

Deprecate:

  • lintGitCommitMsg
  • calculateCvss3
  • chunks
  • escapeShellArg
  • escapeShellArgs
  • filterAttrs
  • flatten
  • fromToml
  • makeDerivationParallel
  • makeNomadEnvironment
  • sortAscii
  • sortAsciiCaseless
  • secretsForGpgFromEnv
  • helloWorld
  • makeSecretForNomadFromEnv
  • makeSecretForKubernetesConfigFromAws
  • makeScriptParallel

dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate lintGitCommitMsg as we're no longer
using it
- Create a simplified job for linting commit msg
- Remove documentation
- Adapt CI jobs

Signed-off-by: Daniel Salazar <[email protected]>
jandresh added a commit that referenced this issue Dec 13, 2024
refac(back): #1378 deprecate commit linter
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate calculateCvss3
- Deprecate chunks
- Deprecate escapeShellArg
- Deprecate escapeShellArgs
- Deprecate filterAttrs
- Deprecate flatten
- Deprecate fromToml
- Deprecate makeDerivationParallel
- Deprecate makeNomadEnvironment
- Deprecate sortAscii
- Deprecate sortAsciiCaseless
- Adapt source code
- Remove documentation
- Remove CI jobs
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate calculateCvss3
- Deprecate chunks
- Deprecate escapeShellArg
- Deprecate escapeShellArgs
- Deprecate filterAttrs
- Deprecate flatten
- Deprecate fromToml
- Deprecate makeDerivationParallel
- Deprecate makeNomadEnvironment
- Deprecate sortAscii
- Deprecate sortAsciiCaseless
- Adapt source code
- Remove documentation
- Remove CI jobs

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 13, 2024
- Deprecate calculateCvss3
- Deprecate chunks
- Deprecate escapeShellArg
- Deprecate escapeShellArgs
- Deprecate filterAttrs
- Deprecate flatten
- Deprecate fromToml
- Deprecate makeDerivationParallel
- Deprecate makeNomadEnvironment
- Deprecate sortAscii
- Deprecate sortAsciiCaseless
- Adapt source code
- Remove documentation
- Remove CI jobs

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit that referenced this issue Dec 13, 2024
refac(cross): #1378 deprecate internal builtins
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Remove secretsForEnvFromSops tests
as it will be removed in the future
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Remove secretsForEnvFromSops tests
as it will be removed in the future

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Remove secretsForEnvFromSops tests
as it will be removed in the future

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Remove secretsForEnvFromSops tests
as it will be removed in the future

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Remove secretsForEnvFromSops tests
as it will be removed in the future

Signed-off-by: Daniel Salazar <[email protected]>
drestrepom added a commit that referenced this issue Dec 19, 2024
refac(back): #1378 deprecate secrets for gpg
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate builtin
- Deprecate tests
- Adapt CI
- Adapt documentation

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit that referenced this issue Dec 19, 2024
refac(back): #1378 deprecate hello world
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate makeSecretForAwsFromGitlab
- Deprecate makeSecretForKubernetesConfigFromAws
- Deprecate makeSecretForNomadFromEnv

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate makeSecretForAwsFromGitlab
- Deprecate makeSecretForKubernetesConfigFromAws
- Deprecate makeSecretForNomadFromEnv
- Deprecate makeScriptParallel

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit that referenced this issue Dec 19, 2024
refac(back): #1378 deprecate builtins
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Deprecate makeEnvVars
- Deprecate makeEnvVarsForTerraform
- Deprecate makeSecretForEnvFromSops
- Deprecate makeSecretForTerraformFromEnv

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit to dsalaza4/makes that referenced this issue Dec 19, 2024
- Recover secretsForAwsFromGitlab
as it is currently being used

Signed-off-by: Daniel Salazar <[email protected]>
dsalaza4 added a commit that referenced this issue Dec 19, 2024
refac(back): #1378 recover builtin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant