On 24. 06. 20 1:10, Miro Hrončok wrote:
On 24. 06. 20 1:07, Ben Rosser wrote:
Some of my nodejs packages are an artifact of a failed attempt to
package quassel-webserver [1], which I eventually gave up on, and so
those could probably be safely retired. But looking at the orphans
report, I'm not confident I correctly separated out the dependency
trees, and this is now somewhat time sensitive, so I suppose it's
better safe than sorry. (At least this is "only" 80 out of 200
packages...)

I will try to isolate the mocha deps.


import requests

r = requests.get('https://churchyard.fedorapeople.org/orphans.json').json()

chain = r['affected_packages']
orphaned = set(r['status_change'].keys())

todo = {'mocha'}
needed = set()

while todo:
    package = todo.pop()
    for dep in chain[package]:
        if dep not in needed:
            needed.add(dep)
            todo.add(dep)

needed & orphaned ->

nodejs-better-assert
nodejs-buffer-equal
nodejs-bunker
nodejs-burrito
nodejs-callsite
nodejs-charm
nodejs-ejs
nodejs-nopt
nodejs-runforcover
nodejs-slide
nodejs-traverse
nodejs-yamlish

Should I assign them to you?

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to