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

aggregate documented projects from config-file, not awesome-dat README #79

Merged

Conversation

aschrijver
Copy link
Contributor

This PR is related to the overhaul of awesome-dat where the new awesome list no longer contains system markers (the folder icons). See: dat-ecosystem-archive/awesome-dat#4 (comment)

The list of project README's to aggregate is simply taken in the same manner from aggregated-docs.md in the Docs project instead.

@joehand
Copy link
Collaborator

joehand commented Aug 8, 2017

See failed build logs below:

7:21:37 AM: Build started
7:21:37 AM: Fetching cached dependencies
7:21:37 AM: Starting to download cache of 46.5MB
7:21:38 AM: Finished downloading cache in 444.489677ms
7:21:40 AM: Preparing Git Reference pull/79/head
7:21:42 AM: Running build command: sh scripts/netlify.sh
7:21:46 AM: v6.11.2 is already installed.
7:21:47 AM: Now using node v6.11.2 (npm v3.10.10)
7:21:47 AM: Using version v6.11.2 of node
7:21:47 AM: Using /opt/buildhome/.rvm/gems/ruby-2.1.2
7:21:47 AM: Installing NPM modules
7:21:54 AM: npm WARN
7:21:55 AM:
7:21:55 AM: optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
7:21:55 AM: NPM modules installed
7:21:55 AM: Setting Git Stuff
7:21:55 AM: Running npm netlify
7:21:56 AM: 
> dat-docs@1.0.0 netlify /opt/build/repo
> npm run update:token && npm run build:deploy
7:21:57 AM: 
> dat-docs@1.0.0 update:token /opt/build/repo
> npm run update:list && cat repos.txt | ecosystem-docs sync -t ${GH_TOKEN} && cat repos.txt | ecosystem-docs read -t ${GH_TOKEN} | node scripts/build.js
7:21:58 AM: 
> dat-docs@1.0.0 update:list /opt/build/repo
> curl -Ssl https://raw.githubusercontent.com/datproject/docs/master/aggregated-docs.md | grep '📔' | egrep -o 'github.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+' | cut -f 2- -d / | uniq > repos.txt
7:22:09 AM: 
> dat-docs@1.0.0 build:deploy /opt/build/repo
> npm run build:css && minidocs docs -c docs/contents.json -o dist -l ./node_modules/dat-design/public/img/dat-hexagon.svg -t 'Dat Documentation' -s assets/styles.css --assets assets --full-html
7:22:10 AM: 
> dat-docs@1.0.0 build:css /opt/build/repo
> node-sass --importer node_modules/node-sass-magic-importer assets/styles.scss assets/styles.css
7:22:11 AM: Rendering Complete, saving .css file...
7:22:11 AM: Wrote CSS to /opt/build/repo/assets/styles.css
7:22:15 AM: Cached NPM modules
7:22:15 AM: Build complete: exit code: 0
7:22:15 AM: Cleaning up docker container
7:22:16 AM: Starting to deploy site from 'dist'
7:22:16 AM: Deploying to CDN
7:22:16 AM: Starting deploy of directory /mnt/build-work/buildbot-397048980/repo/dist
7:22:20 AM: Going to deploy the 6 required files
7:22:20 AM: Uploading file: hypercore.html
7:22:20 AM: Uploading file: dat-node.html
7:22:20 AM: Uploading file: bundle.js
7:22:20 AM: Uploading file: hyperdrive.html
7:22:20 AM: Uploading file: dat.html
7:22:20 AM: Uploading file: hyperdiscovery.html
7:22:21 AM: Finished uploading file: dat-node.html
7:22:21 AM: Finished uploading file: hyperdiscovery.html
7:22:21 AM: Finished uploading file: hyperdrive.html
7:22:45 AM: Finished uploading file: hypercore.html
7:25:15 AM: Error while uploading dat.html: Put https://api.netlify.com/api/v1/deploys/5989c8f1a700c41682179b01/files/dat.html: unexpected EOF
7:25:15 AM: Error while uploading bundle.js: Put https://api.netlify.com/api/v1/deploys/5989c8f1a700c41682179b01/files/bundle.js: unexpected EOF
7:25:15 AM: Error while uploading file bundle.js: Put https://api.netlify.com/api/v1/deploys/5989c8f1a700c41682179b01/files/bundle.js: unexpected EOF
7:25:15 AM: Error while uploading file dat.html: Put https://api.netlify.com/api/v1/deploys/5989c8f1a700c41682179b01/files/dat.html: unexpected EOF
7:25:16 AM: Finished deploying directory /mnt/build-work/buildbot-397048980/repo/dist
7:25:16 AM: Failed to deploy dist to CDN
7:25:16 AM: Put https://api.netlify.com/api/v1/deploys/5989c8f1a700c41682179b01/files/bundle.js: unexpected EOF
7:25:17 AM: Finished processing build request in 3m39.740713091s

@joehand joehand merged commit 5be5993 into dat-ecosystem-archive:master Aug 8, 2017
@@ -6,7 +6,7 @@
"scripts": {
"update:token": "npm run update:list && cat repos.txt | ecosystem-docs sync -t ${GH_TOKEN} && cat repos.txt | ecosystem-docs read -t ${GH_TOKEN} | node scripts/build.js",
"update": "npm run update:list && npm run update:build",
"update:list": "curl -Ssl https://raw.githubusercontent.com/datproject/awesome-dat/master/readme.md | grep '📔' | egrep -o 'github.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+' | cut -f 2- -d / | uniq > repos.txt",
"update:list": "curl -Ssl https://raw.githubusercontent.com/datproject/docs/master/readme.md | grep '📔' | egrep -o 'github.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+' | cut -f 2- -d / | uniq > repos.txt",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joehand Does this work? On my local test it did not because it has to be README.md in capitals for the Docs project.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, I had to fix with another commit 15499fe

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.

2 participants