Comments (1)
I think we could delete old branches when we make a new PR. Important to check if a branch has been merged (or the corresponding PR closed) before deleting them.
My feeling was that using the template repository as the source of the PR would be trickier. The thinking was:
- we still need a way to clean up
- we need to generate a diff/PR that brings that student's repo up to date. It wouldn't be the same for all students (for example if you didn't merge last weeks PR you need a different one this week compared to someone who did merge it)
- we need to add lots of remotes to the template repo (one for each student)
So I'd investigate automatically cleaning up old/stale/unused branches when we create a new one.
from abc-classroom.
Related Issues (20)
- implement logging
- Package organization HOT 1
- Organization of github and git functions in abc classroom HOT 4
- Test suites and organization HOT 1
- Clean up old / deprecated code HOT 1
- potential bug? - github.remote_repo_exists returns false with bad token even if repo exists. HOT 2
- break up get_access_token into two helpers? HOT 2
- set_github_auth will fail if no file is found HOT 2
- Docstring Updates
- Function that may not get used anywhere in abc classroom HOT 2
- function init_and_commit and custom commit messages HOT 7
- Struggling to trigger FileNotFound Error in get_github_auth() HOT 1
- Better error handling for auth setup
- 403 You need admin access to the organization before adding a repository to it. HOT 7
- Do we want to keep python 3.6 support & docs build HOT 2
- What's next for abc-classroom - test suite
- abc-init fails getting access token HOT 16
- No support for multiple ssh users
- Copy an entire directory tree from extra_files
- Misleading setup documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abc-classroom.