Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes list dist uploads. #657

Merged
merged 2 commits into from
Dec 30, 2021
Merged

Fixes list dist uploads. #657

merged 2 commits into from
Dec 30, 2021

Conversation

pathunstrom
Copy link
Collaborator

Prevents examples.zip from being included in dists

Tested the comprehension on a xonsh container:

<user>@8f257c1bbfc7 ~/tmp # touch dist1
<user>@8f257c1bbfc7 ~/tmp # touch dist2
<user>@8f257c1bbfc7 ~/tmp # touch dist3
<user>@8f257c1bbfc7 ~/tmp # touch examples.zip
<user>@8f257c1bbfc7 ~/tmp # dists = [f for f in pg`**` if '+' not in f.name and 'examples.zip' not in f.name and f.is_fi
le()]
<user>@8f257c1bbfc7 ~/tmp # dists
[PosixPath('dist1'), PosixPath('dist2'), PosixPath('dist3')]

@pathunstrom pathunstrom requested a review from a team as a code owner December 30, 2021 15:18
.ci/upload.xsh Show resolved Hide resolved
@pathunstrom
Copy link
Collaborator Author

bors r=AstraLuma

bors bot added a commit that referenced this pull request Dec 30, 2021
657: Fixes list dist uploads. r=AstraLuma a=pathunstrom

Prevents `examples.zip` from being included in `dists` 

Tested the comprehension on a xonsh container:

```
<user>`@8f257c1bbfc7` ~/tmp # touch dist1
<user>`@8f257c1bbfc7` ~/tmp # touch dist2
<user>`@8f257c1bbfc7` ~/tmp # touch dist3
<user>`@8f257c1bbfc7` ~/tmp # touch examples.zip
<user>`@8f257c1bbfc7` ~/tmp # dists = [f for f in pg`**` if '+' not in f.name and 'examples.zip' not in f.name and f.is_fi
le()]
<user>`@8f257c1bbfc7` ~/tmp # dists
[PosixPath('dist1'), PosixPath('dist2'), PosixPath('dist3')]
```

Co-authored-by: Piper Thunstrom <pathunstrom@gmail.com>
@bors
Copy link
Contributor

bors bot commented Dec 30, 2021

Build failed:

@pathunstrom
Copy link
Collaborator Author

bors retry

@bors bors bot merged commit 386d036 into ppb:canon Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants