Page MenuHomePhabricator

Improve lispum generation of pastes

Authored by epriestley on Dec 25 2015, 2:37 PM.
Referenced Files
Unknown Object (File)
Fri, Mar 3, 12:37 AM
Unknown Object (File)
Feb 14 2023, 7:04 PM
Unknown Object (File)
Jan 30 2023, 9:46 PM
Unknown Object (File)
Jan 30 2023, 9:15 PM
Unknown Object (File)
Jan 30 2023, 3:36 AM
Unknown Object (File)
Jan 30 2023, 3:36 AM
Unknown Object (File)
Jan 30 2023, 3:36 AM
Unknown Object (File)
Jan 21 2023, 10:54 AM



Fixes T8482, or something. I can't actually repro that but I think it should be fixed either here or earlier

Test Plan
$ ./bin/lipsum generate paste
 GENERATORS  Selected generators: Pastes.
 WARNING  This command generates synthetic test data, including user accounts. It is intended for use in development environments so you can test features more easily. There is no easy way to delete this data or undo the effects of this command. If you run it in a production environment, it will pollute your data with large amounts of meaningless garbage that you can not get rid of.

    Are you sure you want to generate piles of garbage? [y/N] y

 LIPSUM  Generating synthetic test objects forever. Use ^C to stop when satisfied.
Generated "Paste": P223
Generated "Paste": P224
Generated "Paste": P225 sync_backup_disk_and_undo_memory.php
Generated "Paste": P226 administrate_memory_shard_helper.php
Generated "Paste": P227 cancel_disk_users
Generated "Paste": P228 backups_pro.txt
Generated "Paste": P229 undo_host.txt
Generated "Paste": P230
Generated "Paste": P231
Generated "Paste": P232
Generated "Paste": P233 compact_backup_and_user_and_purge_memory
Generated "Paste": P234
Generated "Paste": P235 purge_disk.php
Generated "Paste": P236 forgotten_elder_account.txt
Generated "Paste": P237 ancient_ancient_disks.txt
Generated "Paste": P238 disk_user.php

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve lispum generation of pastes.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Generated "Paste": P236 forgotten_elder_account.txt

This is excellent program behavior.

Generated "Paste": P234

This one is pretty good too, although a better script wold call it

chad edited edge metadata.
This revision is now accepted and ready to land.Dec 25 2015, 3:39 PM
This revision was automatically updated to reflect the committed changes.
vrana added inline comments.

This is still used in PhabricatorDifferentialRevisionTestDataGenerator.


generateContent too.