-
Notifications
You must be signed in to change notification settings - Fork 209
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
IS Nightly #857
Comments
Hi, I think this is a cool idea; we might start with weekly to make it a
bit easier? Would we run it from another account's github pages? And could
there be some automation to help this go smoother? For example, who would
do the updating? Would they have to run a script each day?
Thanks for this cool idea!
…On Fri, Mar 15, 2019 at 3:09 AM Harsh Khandeparkar ***@***.***> wrote:
@jywarren <https://github.com/jywarren> @publiclab/is-reviewers
<https://github.com/orgs/publiclab/teams/is-reviewers> how about creating
an IS nightly website where daily builds are pushed? The page can be
updated everyday after all the PRs of that day are merged. It will be
different from the sequencer.publiclab.org website since only stable
versions are pushed there. This will help users find bugs in the latest
code easily and be like beta testers without having to clone the repo and
do all the things the developers do. This can be like an end user feedback
form. What are your thoughts??
------------------------------
Thank you!
Your help makes Public Lab better! We *deeply* appreciate your helping
refine and improve this site.
To learn how to write really great issues, which increases the chances
they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#857>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AABfJ_XvynSQSUqH8jxwWdCJF8DV5QR1ks5vW0bmgaJpZM4b11xV>
.
|
How about runing it on jywarren/image-sequencer? Can you update it yourself? |
I don't think i could keep up -- i'm already struggling a bit to stay
current. This is one reason I thought of an automated solution. Or if
someone wants to volunteer?
…On Fri, Mar 15, 2019 at 2:22 PM Harsh Khandeparkar ***@***.***> wrote:
How about runing it on jywarren/image-sequencer? Can you update it
yourself?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ_FsYzDweiz9YuDgSvTuhSkcW9U1ks5vW-TUgaJpZM4b11xV>
.
|
It can be hosted on maybe sequencer.beta.publiclab.org and since prs are not merged everyday, it can be updated when they are. What do you say? Can you do that? Just merging gh-pages with publicab/main every night(when prs are merged)?? |
Is there a bot which can help? |
I would have been more than happy to volunteer but I will be busy for 2 yrs as I have mentioned many times bfore. |
There is a way to automate this.... Does PL have a server which runs 24hrs? |
@subhahu123 do you have any good ideas for this? |
Yeah !! |
Do you know some way to do this auto updating? A bit maybe? |
I will check through this. |
Or else I can volunteer for this to update them. |
Oh Awesome. You can ask @jywarren about that. Thank you. |
Do you use linux btw? @harshithpabbati |
Yeah. |
I can write a script for you if you want. You can type |
Ok thanks for that!! |
Cool. Should it be |
Make it update-is no prob. |
Ok. The script is really easy actually. Edit: posted below This will ask for your username and password. You can create a directory named create a file named username@pc:~$ sudo chmod +x ~/bin/update-is That is it. You can try this out right now. You will have to initialize gh-pages though. Please note that this will directly copy the code here and it will not work if you have the |
Thanks @harshkhandeparkar |
I have edited the comment. Please read it again |
@harshkhandeparkar hey did you renamed it as is ??? |
Renamed what? |
Getting an error when i tried to run it. |
Can you please tell me the error? |
Oh yah the bot can't have the repo 😅 |
I will repost this such that everyone can use this . |
@jywarren does PL have a server which runs 24x7?? |
Yes we do!
…On Mon, Mar 18, 2019 at 1:34 PM Harsh Khandeparkar ***@***.***> wrote:
@jywarren <https://github.com/jywarren> does PL have a server which runs
24x7??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJyFkiu6XsQLQ_gcJIeL5myDFqVc1ks5vX84KgaJpZM4b11xV>
.
|
I also use my own
|
Also, i just released the latest to https://sequencer.publiclab.org and pointed beta.sequencer.publiclab.org to https://harshithpabbati.github.io/image-sequencer/! |
@jywarren check the url beta.sequencer.publiclab.org i cant get it. |
ah, you need to add a CNAME file! |
Where should i add it ??? in gh-pages branch ?? |
That's right!
…On Mon, Mar 18, 2019, 9:23 PM Harshith pabbati ***@***.***> wrote:
Where should i add it in gh-pages branch ??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ4u1vnStA044RBNpHudxDToekg8Uks5vYDvfgaJpZM4b11xV>
.
|
Hello harshith, the last revision of the script I made actually creates the CNAME file and also points to beta.sequencer.publiclab.org. Please change your script locally. #!/bin/bash
set -e
if [ -d ~/.is ];
then
pushd ~/.is
if [ -d ~/.is/image-sequencer/ ];
then
rm -rf ~/.is/*
fi
git clone https://github.com/Harshithpabbati/image-sequencer.git
pushd ~/.is/image-sequencer/
git checkout gh-pages
git remote add upstream https://github.com/publiclab/image-sequencer.git
git fetch upstream
git merge -f upstream/main
npm run setup
grunt browserify
grunt uglify
if [ ! -f CNAME ];
then
touch CNAME
fi
echo "beta.sequencer.publiclab.org" > CNAME
git add .
git add -f node_modules/
git commit -m "update"
git push
popd
popd
else
mkdir ~/.is
update-is
fi |
Hey harshith, would you mind posting the update script somewhere on github so I can propose cahnges whenever needed? When we add the dist files to gitignore, the script will have to be changed, if anything breaks, I can open a pr and then you can pull the latest script when ot gets updated. Would you mind putting it on github? |
Ok where should I keep it ?? In my repos?? |
Anywhere you like. Just tell me where. Thanks.😊 |
Fine i will create a repo and I will send you the link. |
@Harshithlabbati a new pr was juet merged! Please run the script. Also please make sure that you have the latest version that I had posted. It adds the CNAME file to the branch. Let's see if beta.sequencer.publiclab.org redirects. |
Yeah it's redirecting 👍 |
I will close this issue in a pr where this is documented in README.md file. @jywarren I noticed that the description of this repo has the link http://sequencer.publiclab.org can it be changed to have https? |
Yes that'd be great but I also set it up to force https now.
…On Tue, Mar 19, 2019, 8:38 AM Harsh Khandeparkar ***@***.***> wrote:
I will close this issue in a pr where this is documented in README.md
file. @jywarren <https://github.com/jywarren> I noticed that the
description of this repo has the link http://sequencer.publiclab.org can
it be changed to have https?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#857 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ2KFzvDAaJfk6wN41fWaxQejLKtkks5vYNoLgaJpZM4b11xV>
.
|
Do I need to document about beta.sequencer.publiclab.org |
Ok I am done with the script. |
I will do the documentation |
Ok fine thanks. |
Hi @harshithpabbati @harshkhandeparkar shall we place this script in a |
The core script is in my repo |
Yes @jywarren, we can do that. |
@jywarren @publiclab/is-reviewers how about creating an IS nightly website where daily builds are pushed? The page can be updated everyday after all the PRs of that day are merged. It will be different from the sequencer.publiclab.org website since only stable versions are pushed there. This will help users find bugs in the latest code easily and be like beta testers without having to clone the repo and do all the things the developers do. This can be like an end user feedback form. What are your thoughts??
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
The text was updated successfully, but these errors were encountered: