14 Bring your repository
Software Factory Engineer · the factory of Academy CRMAcademy CRM Factory: a project on the Academy CRM repository.
I want to put an existing repository under Swifter.
Bring your repository
Concepts
The factory starts from code that exists: the Academy CRM repository of your lesson 3 project.
- Existing repository — Use existing repository in the new-project wizard connects code you have. Swifter makes no copy.
- Module — one buildable part of the code: a Folder of a repository, with a type, a framework and a package manager.
- Module commands — the shell lines behind lint, test, build and start, under Commands.
- Role — a Project admin sets the factory up; a Product engineer works in it.
- Quality scan — a read of the code that grades it. Quality and Productivity come from the Analytics capability.
What a project is made of
- Repositorythe code you already have; the wizard connects it
- Modulea folder of the repository, with type, framework and package manager
- Commandsthe lint and test lines Swifter and the agents run
Figure 14.1 · Repository, module and commands
Scenario
You connect the repository, check its module and commands, run them once, add a colleague and take the first grade. The configuration stays at version 1.
The path
- Connect
- Check the module
- Run
- Add a person
- Scan
Figure 14.2 · From a repository to a graded project
Interface
The project page of the factory. The numbered places are where the walkthrough sends you.
Project page, Logs tab
Figure 14.3 · The project page and its numbered places
- 1Project name: its list of projects; + in the list starts a new project.
- 2Gear: opens Project settings: People, Modules, Dev environment.
- 3Overview: the pages Swifter fills from the code: Quality, Productivity and others.
- 4Logs: the Logs tab: the module commands of main.
- 5Module and commands: pick the module, then Start, Install, Build, Lint or Test.
- 6Result: Passed or Failed, the exit code, Re-run; the log below.
Walkthrough
Scene 1 of 7 · 0:16
Start from your repository
Where: Project page, Logs tab: ① Project name
Open the project list and press +, then Use existing repository. Name the project «Academy CRM Factory — your name», pick the course's Gitea source and tick your Academy CRM repository from lesson 3.
If you see instead
- No + in the project list: your role cannot create projects.
Terms
- Academy CRM Factory — your SFE project of lessons 14 to 18, on your own Academy CRM repository.
- Discover — the wizard button that reads a repository and proposes its modules.
- Package manager — the tool that installs the module's libraries: Bun or Yarn for a React module.
- Scorecard — the grades of the last scans, out of 100.