Page MenuHomePhabricator

Create repository for WikiGPT
Closed, ResolvedPublic

Description

Create a repository on gitlab for wikiGPT and figure out a way to update the app whenever we merge new code

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
Resolvedisarantopoulos

Event Timeline

Related, are there also plans to create a dedicated Phabricator project tag for this codebase?

Created the repository https://gitlab.wikimedia.org/toolforge-repos/wiki-gpt through toolforge UI and added the code that is checked out (everything except the secrets and the database).

For now if one wants to update the app they should do the following:

  • Merge some code or Merge Request on the main branch
  • ssh into toolforge, become wiki-gpt and navigate to the directory www/python/src and run git pull origin main

Created a repo that has the following:

  • has a CI pipeline for Merge requests that runs precommit command for python, css and javascript files
  • has a webhook that syncs code to the toolforge app whenever a new commit is merged to master

Keep in mind that in order for new changes to take effect the webservice on toolforge has to be restarted each time.

@isarantopoulos: Could you answer my last comment, please? Thanks in advance!

Related, are there also plans to create a dedicated Phabricator project tag for this codebase?

Not at this point as this was just some POC work done.