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

Releasing via Aegir #80

Closed
wemeetagain opened this issue Jun 3, 2020 · 10 comments
Closed

Releasing via Aegir #80

wemeetagain opened this issue Jun 3, 2020 · 10 comments

Comments

@wemeetagain
Copy link
Member

Unfortunately, didn't test out releasing w/ Aegir in #77
There are a few issues with the current setup when trying to release with Aegir

  1. .eslint.js getting picked up by aegir for its linting step. Can be mitigated by either running with --lint=false or renaming .eslint.js to eg: .eslint.ts.js
  2. tsc never gets run during the release cycle, so aegir fails on the test and other steps. Can be mitigated by either checking in built js in src/ or adding a tsc step in aegir
@vasco-santos
Copy link
Collaborator

  1. we can do --lint=false and add a prerelease with lint?

  2. should we also add tscto prerelease?

what do you think?

@wemeetagain
Copy link
Member Author

  1. sounds good

  2. aegir treats this as a 'dirty repo' since the src files aren't checked in

@vasco-santos
Copy link
Collaborator

Humm, skipping the dirty repo for now would be the best approach, I think. Aegir should not support it, but it should be easy to add.
Checking the src seems strange and might create confusion for other contributors.

What do you think? Maybe you can open an issue in aegir to discuss it first? Meanwhile, I can release this with a custom aegir to avoid the dirty repo thing

@mpetrunic
Copy link
Member

Maybe we can fork aegir and rename to aegir-ts where we would adjust tools to expect ts. Later on upstream to aegir - - ts flag or something. We could you custom aegir in noise repo (we have custom scripts and lint there)

@wemeetagain
Copy link
Member Author

Yeah, checking in src/ probably causes more problems than we want.

👍 on releasing w a custom aegir for now.

I think ideally, aegir could have extensions for typescript projects. Add a 'compile' step that could be flagged. I can envision a --ts flag that augments linting, releasing, building, etc to support our (or a similar) flow.
@mpetrunic I think we're thinking along the same lines

@vasco-santos
Copy link
Collaborator

@mpetrunic I am ok with that. But, I would recommend creating an issue in aegir to get this discussed

@stale
Copy link

stale bot commented Jul 18, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the bot:stale label Jul 18, 2020
@mpetrunic
Copy link
Member

unstale

@stale stale bot removed the bot:stale label Jul 20, 2020
@stale
Copy link

stale bot commented Sep 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the bot:stale label Sep 4, 2020
@stale
Copy link

stale bot commented Sep 11, 2020

This issue or pull request has been automatically been closed due to inactivity.

@stale stale bot closed this as completed Sep 11, 2020
fryorcraken pushed a commit to fryorcraken/js-libp2p-gossipsub that referenced this issue Aug 2, 2022
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

3 participants