Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

exclude assets folder #60

@desaiuditd

Description

@desaiuditd

Not sure whether this is an issue or not. But I was facing it and I had to fix it with patch-work.

There's an exclude flag in rsync to fetch repo files from git into svn. Ref.

So what is this doing is; excluding all the assets folder from the repository; and not just the one which is required for banners & screenshots. For example, in my plugin; I'm putting my JS, CSS etc. into app/assets/ folder. Also I've used a few vendor libraries in which assets folder is used. So svn-push script ignores all these folders along with the one with banners; resulting in partial file uploads in WordPress.org SVN repo. And this eventually breaks the plugin functionality.

So what I did to prevent this is; removed the exclude flag for assets from rsync and after that I removed assets folder from svn trunk using rm.

Though this worked for me, I had a hunch that either I'm doing something wrong or missing something in order to use this script.

Suggestions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions