Skip to content

stop using gulp just to copy files #10300

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

in package_tasks (and appengine_tasks but we'll be able to delete that soon) we use gulp to do a bunch of gulp.pipe/src/dest that just copy files from one place to another.

this is not a good use of gulp and it makes debugging or changing the packaging process a nightmare to figure out.

we should just use plain node fs calls to copy files. i did one quick test and just loading gulp and the plugins we use took 4x longer than the time spent copying files over with node. and honestly, all of this is so short that even if node took slightly longer than gulp (which is unlikely) it would be worth it just to get rid of gulp and make the scripts easier to reason about.

Reproduction steps

Priority

No response

Stack trace

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions