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

feat: initial craft-application work #4444

Conversation

lengau
Copy link
Contributor

@lengau lengau commented Nov 10, 2023

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

snapcraft/application.py Show resolved Hide resolved
if build_for is None:
build_for = util.get_host_architecture()

self.services.set_kwargs("image", work_dir=self._work_dir, build_for=build_for)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete

snapcraft/application.py Show resolved Hide resolved
"""Initialize the LifecycleManager with previously-set arguments."""
plugins.register()

callbacks.register_prologue(lifecycle._set_global_environment)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use ca (Craft-application for Sergio) for this

"""
# TODO: Call snap pack
project = cast(projects.SnapcraftProject, self._services.project)
issues = linters.run_linters(prime_dir, lint=project.lint)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant