-
Notifications
You must be signed in to change notification settings - Fork 10
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
Discuss web page instructions #23
Comments
I tried to use --createTempRespository without --push and it said I must do a push. I was hoping to run this without a push so I can manually check the resulting pages before pushing to the real-site. So I tried the non-temp repository, but it's not clear what repository path I'm meant to use, since I haven't seen any evidence of gh-pages in my repository clone yet. E.g. with these steps, what path do I need to provide as the argument to updateWeb? git clone https://github.com/IBMStreams/streamsx.inet.git |
The web page is updated. The way I run it is that I have From $HOME/IBMStreams/streamx.inet,
|
Can the wiki provide an explicit set of commands, rather than just text saying you should do this and that? E.g. something like this, probably is not correct as I don't know the URL for the web site. mkdir IBMStreams cd .. |
Now go to the workspace where you edit code for streamsx.inet, and run the script from there, with |
Is the invocation of system("ant spldoc") meant to commented out? |
With the ant spldoc being executed I did:
Which results in /tmp/streamsx.inet being modified, but since the code is already committed, I cannot easy see what changes have been made. E.g. I was expecting to be able to do git diff. Any idea how I see the changes in the last git commit? |
Found this for seeing the changes in the last commit git diff HEAD^..HEAD |
Ah, didn't know that. Useful. If you don't like what you see, you can delete the whole directory /tmp/streamx.inet . Also, the script lets you say --nocommit. |
Oops, no, the system("ant spldoc") was not supposed to be commented out--I commented it out for testing and forgot to uncomment it. |
I got it to work and pushed changes to the pages repository (branch?). I fixed an issue in build.xml where ant spldoc left the info.xml checked out. Great work in making it easy! Since I have a Jenkins server running, should I add it as a post successful build task so that the web-site is updated automatically on any change? |
@ddebrunner I think it'd be great to have the Jenkins server update it automatically on any change! |
@hildrum Could you modify the updateWeb.pl script to allow use of the ssh URL to clone the repository, rather than just supporting https? E.g. the ssh url for streamsx.inet is: [email protected]:IBMStreams/streamsx.inet.git This makes it easier to integrate it into a build system, as it can use a SSH key instead of having to enter a user/password. |
Yeah, I can do that. Right now, it's pulling the url out of the repository info, ie, from |
You can try it now. |
@hildrum that worked, thanks very much. Now my Jenkins CI server is building streamx.inet and updating the SPLDOC on the pages site after any commit to the repository. |
I do not think we have anything more to discuss here... closing. |
This is an issue for discussing the wiki page: Creating a web page for your toolkit
The text was updated successfully, but these errors were encountered: