Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Set up labels-and-milestones for ipfs projects #237

Closed
flyingzumwalt opened this issue Oct 27, 2016 · 16 comments
Closed

Set up labels-and-milestones for ipfs projects #237

flyingzumwalt opened this issue Oct 27, 2016 · 16 comments
Assignees
Labels
topic/tools Topic tools

Comments

@flyingzumwalt
Copy link
Contributor

Set up labels-and-milestones for ipfs projects.

Start with js-ipfs so @diasdavid can see if it addresses his needs.

@haadcode is already using this tool to sync milestones and labels across all orbit-related repositories.

@flyingzumwalt
Copy link
Contributor Author

flyingzumwalt commented Oct 27, 2016

The documented way to use this tool is to fork the whole repo, write a yml file in the repo with your repository and milestone info in it, and then run the tool from within the repo.

You run it with commands like this:

$ npm run lint js-ipfs.yml
$ npm run sync js-ipfs.yml

I've forked the tool here and added a js-ipfs.yml and a ipfs-pm-and-community.yml

Currently I get this error when I try to run the tool locally (Note: I've set a valid $GITHUB_TOKEN):


> gslm-starter-project@1.0.0 sync /Users/matt/Develop/haadcode/labels-and-milestones
> npm run build && [ -f config.json ] && npm run gslm "ipfs-pm-and-community.yml"


> gslm-starter-project@1.0.0 build /Users/matt/Develop/haadcode/labels-and-milestones
> npm run clean && npm run build-json


> gslm-starter-project@1.0.0 clean /Users/matt/Develop/haadcode/labels-and-milestones
> rm -f config.json


> gslm-starter-project@1.0.0 build-json /Users/matt/Develop/haadcode/labels-and-milestones
> ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))' < config.yml > config.json


> gslm-starter-project@1.0.0 gslm /Users/matt/Develop/haadcode/labels-and-milestones
> github-sync-labels-milestones -v -c config.json -t $GITHUB_TOKEN "ipfs-pm-and-community.yml"

{"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
undefined

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/5.7.0/bin/node" "/usr/local/bin/npm" "run" "gslm" "ipfs-pm-and-community.yml"
npm ERR! node v5.7.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! gslm-starter-project@1.0.0 gslm: `github-sync-labels-milestones -v -c config.json -t $GITHUB_TOKEN "ipfs-pm-and-community.yml"`
npm ERR! Exit status 1

@flyingzumwalt
Copy link
Contributor Author

If we decide to adopt the tool, we should pull the code into a repo within the ipfs org so everyone can add/edit YAML files for their projects and run them. We should even be able to make the tool run automatically on CI whenever someone pushes changes to their YAML file.

I might have to set this aside until next week. Priority is to get all the roadmaps into Github. @diasdavid has already done the hard work of manually creating his roadmaps. Getting them set up to auto-generate with the roadmap-generator and getting them to display nicely in waffle boards is a high priority, but doesn't need to be done by tomorrow.

@flyingzumwalt
Copy link
Contributor Author

@diasdavid we finally have labels-and-milestones working! Please review the list of repos, milestones and labels in this config file to confirm that they are right before I sync them across all your repositories: https://github.com/flyingzumwalt/labels-and-milestones/blob/master/js-ipfs.json

Eventually these files will probably live in ipfs/pm somewhere, but for today just submit a PR against my fork if you want to make changes.

@daviddias
Copy link
Member

@flyingzumwalt the complete list can be found here: https://waffle.io/ipfs/js-ipfs/settings/sources
@RichardLitt has also updated his script that will enable the labels to be applied in all the repos ipfs/community@238477d

excited that this is coming together :)

For easy easing, can we have like 2 or 3 random chars per Milestone, such that:

a3c- Async Crypto
hd8- Bitswap Complete

So that it is easier to parse through (rather than making our brains read through the whole thing)

Even better would be to use the quarter and a letter, such as:

q4a- Async Crypto
q4b- Bitswap Complete

@daviddias
Copy link
Member

@flyingzumwalt saw that you added the milestones https://github.com/ipfs/js-ipfs/milestones \o/ thank you!

Do note though, that they were not all tagged correctly:

image

image

^^ These were Q3: https://github.com/ipfs/js-ipfs/blob/master/ROADMAP.md#2016-q3

@flyingzumwalt
Copy link
Contributor Author

flyingzumwalt commented Nov 12, 2016

Fixing it would take about an hour of work. Can we live with it?

@daviddias
Copy link
Member

just closing these 2 would be enough :)

@flyingzumwalt
Copy link
Contributor Author

I think I know how to do that! Let me try.

@flyingzumwalt
Copy link
Contributor Author

Ok. I synced the milestones across these repos:

"ipfs/js-ipfs",
"ipfs/js-ipfs-api",
"ipfs/js-ipfs-block-service",
"ipfs/js-ipfs-repo",
"ipfs/js-ipfs-block",
"ipfs/js-ipfs-merkle-dag",
"ipfs/js-ipfs-unixfs",
"ipfs/js-ipfs-unixfs-engine",
"ipfs/js-ipfs-bitswap",
"ipfs/js-ipfsd-ctl"

and closed the two Q3 milestones.

I wasn't sure if you want these milestones added to all the multiformats and libp2p repositories. We can create separeate config files for those projects' milestones if you want.

Note: I still don't have write permissions on https://github.com/ipfs/js-ipfs-examples, so the milestones aren't syncing to that one.

@daviddias
Copy link
Member

I wasn't sure if you want these milestones added to all the multiformats and libp2p repositories. We can create separeate config files for those projects' milestones if you want.

We do need the milestones to be across the repos that waffle is tracking for the Project: js-ipfs

@flyingzumwalt
Copy link
Contributor Author

Added these to the config file:

      "dignifiedquire/aegir",
      "ipfs/js-libp2p-ipfs",
      "ipfs/js-libp2p-ipfs-browser",
      "ipld/js-ipld-dag-cbor",
      "ipld/js-ipld-resolver",
      "multiformats/js-multiaddr",
      "multiformats/js-multibase",
      "multiformats/js-multicodec",
      "multiformats/js-multihash",
      "multiformats/js-multihashing",
      "multiformats/js-multihashing-async",
      "multiformats/js-multistream-select",
      "multiformats/multistream-select"

bu I don't have write access to most of those repos. @dignifiedquire can you help with that?

@daviddias
Copy link
Member

@flyingzumwalt added you to all with exception of aegir, which @dignifiedquire owns

@flyingzumwalt
Copy link
Contributor Author

I still don't have admin access to any of the multiformats repos.

@RichardLitt
Copy link
Member

You should now.

@flyingzumwalt
Copy link
Contributor Author

It’s still not letting me add milestones to any of the multiformats repos.

@dignifiedquire
Copy link
Member

@flyingzumwalt invited you to aegir

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/tools Topic tools
Projects
None yet
Development

No branches or pull requests

4 participants