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

Automatic monthly sync #54

Closed
0x4007 opened this issue Aug 4, 2024 · 27 comments · Fixed by #56
Closed

Automatic monthly sync #54

0x4007 opened this issue Aug 4, 2024 · 27 comments · Fixed by #56

Comments

@0x4007
Copy link
Member

0x4007 commented Aug 4, 2024

It could be interesting to bake in a CRON job that runs once a month to attempt to sync the template.

This will ensure that our repositories in the future are effortlessly synced.

A pull request can be opened up against the development branch, and any conflicts would be expected to be manually resolved.

Add this to our active repositories as well. I suppose a script could be made to add the action file to all of our active repositories. "Active" can be defined as updated within the last month.

@0x4007
Copy link
Member Author

0x4007 commented Aug 16, 2024

One problem to solve though is that if a specific file was deleted from the template, for example, cypress related test code on a project that has no UI, I hope that this script will not attempt to re-add the deleted file.

If this problem is simple to solve then I think we should continue with this proposal. Otherwise it might make too much a mess with redundant changes.

I think that git is aware of a file that is deleted based on its timestamp, and will only add it back if the file was added (or modified?) in the ts-template afterwards, so this should be a non-issue!

@gentlementlegen
Copy link
Member

Instead of doing it as a CRON once a month, couldn't we do it on changes in the main branch? This way we wouldn't miss important updates, and I don't think we change this repo very often so it should not be noisy.

@0x4007
Copy link
Member Author

0x4007 commented Aug 19, 2024

Instead of doing it as a CRON once a month, couldn't we do it on changes in the main branch? This way we wouldn't miss important updates, and I don't think we change this repo very often so it should not be noisy.

I don't understand what you mean by changes in the main branch, but the idea is that this CRON would exist in all of the repositories, and each would self sync.

@zyrafal
Copy link
Contributor

zyrafal commented Aug 20, 2024

/start

Copy link

ubiquityos bot commented Aug 20, 2024

! Please set your wallet address with the /wallet command first and try again.

@zyrafal
Copy link
Contributor

zyrafal commented Aug 20, 2024

/wallet 0xB252053CE195115348199D0a6Ca9Eb97d5f0df83

Copy link

ubiquityos bot commented Aug 20, 2024

+ Successfully registered wallet address

@zyrafal
Copy link
Contributor

zyrafal commented Aug 20, 2024

/start

Copy link

ubiquityos bot commented Aug 20, 2024

DeadlineTue, Aug 20, 10:18 PM UTC
Registered Wallet 0xB252053CE195115348199D0a6Ca9Eb97d5f0df83
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

@zyrafal
Copy link
Contributor

zyrafal commented Aug 20, 2024

#56

@gentlementlegen
Copy link
Member

We might want to add this logic to https://github.com/ubiquibot/plugin-template afterwards.

0x4007 added a commit to ubiquity/uusd.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/uusd.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/keygen.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/keygen.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/audit.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/audit.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubiquibot-logging that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubiquibot-logging that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/webauthn-evm-signing-key that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/webauthn-evm-signing-key that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/leaderboard.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/leaderboard.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/github-labels-processor that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/github-labels-processor that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/nft-rewards that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/nft-rewards that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/faucet that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/faucet that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/hackbar that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/hackbar that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubiquibot-telegram that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/ubiquibot-telegram that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/pay.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/pay.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/work.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/work.ubq.fi that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/arbitrage-bot that referenced this issue Oct 22, 2024
0x4007 added a commit to ubiquity/arbitrage-bot that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants