Page MenuHomePhabricator

Allow "lipsum" data generation tool to create projects with empty descriptions
Open, Stalled, LowPublic

Description

Upstream: https://we.phorge.it/T15748


The testing data generation tool lipsum allows for automated creation of testing data such as users, tasks and projects

It unfortunately doesn't add project descriptions when it creates projects

So since T344610, when I run:

/opt/phabricator/bin/lipsum generate projects -f --quickly

I see this error:

OOPS Generator ("Projects") was unable to generate an object.
Validation errors:

  • Projects must have a description. Phabricator is public. Describe the project in a way that allows anyone to clearly understand what the scope is (not) about. Add links to relevant public project pages with more information, or link your #Team_Project. If you create a sprint, document its dates.

Event Timeline

This patch seems to work creating an empty description exception for the lipsum tool:

Will test it a bit more then do a proper gitlab merge request...

I suppose an alternative (more simple?) approach would be to modify lipsum to add descriptions 🤔

Probably in this file?

/src/applications/project/lipsum/PhabricatorProjectTestDataGenerator.php

Mhurd removed Mhurd as the assignee of this task.Jan 27 2024, 12:01 AM
Aklapper changed the task status from Open to In Progress.Mar 17 2024, 4:43 PM
Aklapper claimed this task.
Aklapper triaged this task as Low priority.
Aklapper edited projects, added Phabricator (Upstream); removed Phabricator.
Aklapper updated the task description. (Show Details)
Aklapper moved this task from Backlog to Solved upstream on the Phabricator (Upstream) board.
Aklapper added a project: Upstream.
Aklapper moved this task from Backlog to Patch merged upstream on the Upstream board.
Aklapper changed the task status from In Progress to Stalled.Mar 28 2024, 6:56 PM