Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Move log-app to a separate repository #712

Closed
rndquu opened this issue Sep 4, 2023 · 20 comments · Fixed by ubiquity/ubiquibot-logging#2, ubiquity/ubiquibot-logging#3 or #850
Closed

Move log-app to a separate repository #712

rndquu opened this issue Sep 4, 2023 · 20 comments · Fixed by ubiquity/ubiquibot-logging#2, ubiquity/ubiquibot-logging#3 or #850

Comments

@rndquu
Copy link
Member

rndquu commented Sep 4, 2023

There is the frontend log application which displays all of the logs produced by the bot.

We should move it to a separate repository in order not to:

  • mess log and bot deploy scripts together
  • apply a shared cloudflare pages deploy workflow

What should be done:

  1. Move the log app to a separate repo
  2. Remove the log app's related code from the https://github.com/ubiquity/ubiquibot repo
  3. Deploy the log app to cloudflare pages using this workflow

P.S. When we are done moving the log app to a separate repo we should configure stage and prod supabase API keys.

@baibhavKumar1
Copy link
Contributor

/start

@ubiquibot
Copy link

ubiquibot bot commented Sep 4, 2023

Deadline Tue, 05 Sep 2023 12:30:11 UTC
Registered Wallet 0xD76e43a789489D66Bb5CE56304fC8bb2A084F9F5
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address @user.
  • 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 bounty.

    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 9, 2023

    Do you have any updates @Wholesomebruh? If you would like to release the bounty back to the DevPool, please comment /stop
    Last activity time: Tue Sep 05 2023 21:11:24 GMT+0000 (Coordinated Universal Time)

    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 18, 2023

    Do you have any updates @Wholesomebruh? If you would like to release the bounty back to the DevPool, please comment /stop
    Last activity time: Thu Sep 14 2023 06:36:15 GMT+0000 (Coordinated Universal Time)

    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 21, 2023

    @Wholesomebruh - Releasing the bounty back to dev pool because the allocated duration already ended!
    Last activity time: Thu Sep 14 2023 06:36:15 GMT+0000 (Coordinated Universal Time)

    @0x4007
    Copy link
    Member

    0x4007 commented Sep 23, 2023

    @wannacfuture can you take this over?

    Another example of this being needed to work. The current app doesn't work at all

    @wannacfuture wannacfuture self-assigned this Sep 25, 2023
    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 25, 2023

    @wannacfuture The time limit for this bounty is on Tue, 26 Sep 2023 00:25:30 UTC

    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 28, 2023

    @wannacfuture - Releasing the bounty back to dev pool because the allocated duration already ended!
    Last activity time: Mon Sep 04 2023 08:04:05 GMT+0000 (Coordinated Universal Time)

    1 similar comment
    @ubiquibot
    Copy link

    ubiquibot bot commented Sep 28, 2023

    @wannacfuture - Releasing the bounty back to dev pool because the allocated duration already ended!
    Last activity time: Mon Sep 04 2023 08:04:05 GMT+0000 (Coordinated Universal Time)

    @gitcoindev
    Copy link
    Contributor

    Hi @wannacfuture @pavlovcik is this bounty available to pick up? I could do the first 2 parts , the third one requires internal access to trigger the action with secrets:

    CLOUDFLARE_API_TOKEN
    CLOUDFLARE_ACCOUNT_ID
    UBIQUITY_BOUNTY_BOT_APP_ID
    UBIQUITY_BOUNTY_BOT_PRIVATE_KEY
    

    @0xcodercrane
    Copy link
    Contributor

    0xcodercrane commented Oct 5, 2023

    Hi @wannacfuture @pavlovcik is this bounty available to pick up? I could do the first 2 parts , the third one requires internal access to trigger the action with secrets:

    CLOUDFLARE_API_TOKEN
    CLOUDFLARE_ACCOUNT_ID
    UBIQUITY_BOUNTY_BOT_APP_ID
    UBIQUITY_BOUNTY_BOT_PRIVATE_KEY
    

    Yes. feel free to pick it up. we have already set them in github secrets. @gitcoindev

    @gitcoindev
    Copy link
    Contributor

    thank you!

    @gitcoindev
    Copy link
    Contributor

    /start

    @ubiquibot
    Copy link

    ubiquibot bot commented Oct 5, 2023

    Deadline Fri, 06 Oct 2023 06:09:22 UTC
    Registered Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a
    Tips:
    • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address @user.
    • 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 bounty.

      @gitcoindev
      Copy link
      Contributor

      I opened the PR to satisfy requirement 1.

      • took original repository https://github.com/ubiquity/ubiquibot-logging created from ts-template by @pavlovcik
      • created a git subtree from log-app directory and created a separate branch out of it using git subtree split -P log-app/ -b move-log-app
      • merged with upstream using --allow-unrelated-histories : git merge --allow-unrelated-histories bot/move-log-app , this allows to preserve all commits history by @devpanther

      Additionally I enabled the same eslint and prettier settings as in the ubiquibot repository, fixed linter errors, updated package name in package.json and README.md, run prettier over the code and upgraded dependencies to the latest version.

      After this PR is accepted and merged, I will try to run the workflow to deploy to cloudflare pages. The last step will be a PR to remove log-app folder from ubiquibot repository.

      @ubiquibot
      Copy link

      ubiquibot bot commented Oct 5, 2023

      Task Assignee Reward

      [ CLAIM 150 WXDAI ]

      0x7e92476D...A5566653a

      If you've enjoyed your experience in the DevPool, we'd appreciate your support. Follow Ubiquity on GitHub and star this repo. Your endorsement means the world to us and helps us grow!
      We are excited to announce that the DevPool and UbiquiBot are now available to partners! Our ideal collaborators are globally distributed crypto-native organizations, who actively work on open source on GitHub, and excel in research & development. If you can introduce us to the repository maintainers in these types of companies, we have a special bonus in store for you!

      @ubiquibot
      Copy link

      ubiquibot bot commented Oct 5, 2023

      Task Creator Reward

      rndquu: [ CLAIM 54.6 WXDAI ]

      @gitcoindev
      Copy link
      Contributor

      @pavlovcik thank you for approving, I will now open a second PR to remove the code from ubiquibot.

      @gitcoindev
      Copy link
      Contributor

      To finalize 2) and 3):

      Moving deploy workflow to ubiquibot-logging

      ubiquity/ubiquibot-logging#3

      Removing from https://github.com/ubiquity/ubiquibot

      #850

      0xcodercrane pushed a commit that referenced this issue Oct 9, 2023
      * chore: delete log-app moved to ubiquibot-logging
      
      The new repository https://github.com/ubiquity/ubiquibot-logging
      
      Resolves: #712
      
      * chore: remove moved deploy-logger-page workflow
      @gitcoindev
      Copy link
      Contributor

      Current status:

      1. done, pr merged
      2. done, pr merged
      3. updated to generic workflow

      A new follow-up issue created ubiquity/ubiquibot-logging#4

      Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.