-
Notifications
You must be signed in to change notification settings - Fork 163
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
How to Serve a Single TW5 "Export all Tiddlers" (HTML Extension) File? #9
Comments
Hello @ChintiminiFarm Your question is more related to tiddlywiki than Travis CI. Travis is just a task executor, and in this case we are using it to execute several tiddlywiki commands. As far as I know, tiddlywiki supports importing tiddlers from a single file, so your scenario should be possible. In fact, with the correct configuration I think that (not sure) you can support both |
The load command should allow you to extract the tiddlers contained on your Please give it a try and let me know your findings. |
Thanks for the recommendation, Danielo. Here are my results: Here is my branch: feature-generate-from-single-html-file from a more pristine fork of your original project (since I had slopped the first try up into a big mess). I experimented by loading a generic TW5 wiki: I tried variations of the load command both (1) in the
and (2) in the
Unfortunately, the --load commands failed in both instances. Here is output from Travis CI:
Searching on the forums for this error has yielded no results. Best regards, |
Hello @ChintiminiFarm
That should do the trick. What we are doing is first importing all the tiddlers that your wiki contains into the Give it a try and let me know if it solves your problems |
Hi Danielo -- Again, many thanks for your time, energy & attention on this! Your recommendations make perfect sense (In past lives, I've dealt with a lot of makefiles). I reconfigured as follows: I moved the single html file: I kept the So now the sequence should fire off the We still error out with:
Do you think I'm missing anything else obvious? Do you think this is enough to open a bug issue with the main TW5 project (I don't want to bother Jeremy if I'm just doing something silly)? Best regards, |
Hello, it may be a big with 5.1.15 version, because it works on my machine with .14
If that works we will know it is a bug with the new version and you can open a bug report there. |
Hi Danielo -- great troubleshooting idea! Here are my (very interesting) results. TW5 version 5.1.1.4 gave MUCH better error messages from the build back to Travis CI:
So I see it's a To troubleshoot, I also uploaded the same (generic TW5) file: It seems Travis CI, working through the Do you think there is some implicit $PATH variable that needs to be taken into account? I'm at a loss to say why that would be the case. This seems to be a pretty simple configuration. There's just the repository project directory, and the Thanks for your continued efforts (and great troubleshooting ideas) on this, Danielo! Best regards, -- Daniel |
Hello @ChintiminiFarm
And the html file must be placed at the root of the directory. I'm very sure that this should work. |
Hi Danielo, I did try that test case earlier, just to try to troubleshoot, and it didn't work for me. To be sure though, I just did it again and here are the results (there is interesting stuff going on with the
So... I noticed with your original setup instructions, we setup environment variables The truly strange thing is that the source file: Thanks for the continued assistance. I'm going to crash for a while. It's 03:00 on the Pacific Coast. Where are you? Best regards, -- Daniel |
Hello @ChintiminiFarm I'm not sure if you have noticed this, but there is an space on your file name |
Hello @ChintiminiFarm https://github.com/danielo515/TW5-auto-publish2gh-pages/tree/feature/buildFromFile Regards |
Thank you, Danielo! Heavy sigh. Hijo de (CENSORED)!!!! Curse non-monospaced fonts in "rename" file management dialog boxes! We do not need "pretty" when we do file management tasks. Arrgh! My error was so far upstream that I never noticed it. Your eye is good. Thanks for the troubleshooting. I owe you dinner & drinks if you & yours ever come to Portland. Two proposals for you:
Again, mucho gracias, amigo. Mucho gracias. |
Hahahaha, you're right! I am not very fan of pretty things regarding computing productivity.
Thank you very much 😄 It was not so hard, but if I go to Portland I will give you a shout.
Yes, I also think this may be useful to someone else. It's up to you if you want to share your experience on the forum. I generally consider this a good thing.
That will be the best in my opinion. People will expect to find the documentation here, which makes much more sense along with the fact that it won't be lost in a couple of days like happens on the forum. Regards |
Hello @ChintiminiFarm can be consider this issue fixed ? |
Hi Danielo,
Sorry for the delay, Daniel -- holiday madness reigns supreme in this
household!
Sure, the fix is 100% awesome. As are you!
I will schedule some time ASAP to generate something useful in a PR for you.
Once again, thanks for the help. This was a great interaction !
Best regards,
…-- Daniel
On Mon, Dec 11, 2017 at 4:03 AM, Daniel Rodríguez Rivero < ***@***.***> wrote:
Hello @ChintiminiFarm <https://github.com/chintiminifarm> can be consider
this issue fixed ?
PD: I'll await your PR for further discussion about the implementation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AfoMJ7dVfq7BFcOmmLVMZTsXFZEZOxSNks5s_RougaJpZM4Qq9rG>
.
|
Hi Danielo,
One quick question for you (for the documentation improvement process): In
your personal GitHub/GitLab work-flow, how do you generate a push request?
This might be necessary for certain points in the work-flow when you need
to "refresh/rebuild".
I found myself stuck here a few times, because I did not see any kind of
control for a push event from the GitHub web interface. In my case, I knew
what was needed, so I "faked it" and "forced" a Travis-CI rebuild by
actively updating a source file (I "touched" a file by tweaking a
character, and committing. But I knew that was ugly & very clumsy).
But I did not see a way of doing that from the GitHub web interface. I
surmised you are using an actual git client (or command) on your local
machine, correct? Or maybe there's a "push" command interface hidden
somewhere in the GitHub UI?
Best regards,
…-- Daniel
On Mon, Dec 18, 2017 at 1:31 PM, Daniel Cunningham <
[email protected]> wrote:
Hi Danielo,
Sorry for the delay, Daniel -- holiday madness reigns supreme in this
household!
Sure, the fix is 100% awesome. As are you!
I will schedule some time ASAP to generate something useful in a PR for
you.
Once again, thanks for the help. This was a great interaction !
Best regards,
-- Daniel
On Mon, Dec 11, 2017 at 4:03 AM, Daniel Rodríguez Rivero <
***@***.***> wrote:
> Hello @ChintiminiFarm <https://github.com/chintiminifarm> can be
> consider this issue fixed ?
> PD: I'll await your PR for further discussion about the implementation.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AfoMJ7dVfq7BFcOmmLVMZTsXFZEZOxSNks5s_RougaJpZM4Qq9rG>
> .
>
|
Hi Danielo:
Thanks for the effort and expertise you have put into this new project! Can this system support the following use case?
I would like to upload a single TW5 file (named: "my-new-project.html") into the project space (in whatever appropriate spot is best) and configure it (with appropriate syntax) in the "tiddlywiki.info" file.
Details:
So, am I stuck? Or is there a way to configure a Travis CI "build" for a single html file?
The best of all possible worlds for me would be to upload my completed TW5 wiki as a single HTML file into the wiki directory, edit one or more config files to say: "look for this target HTML file", let Travis CI detect the push event and have the auto-config "magic" do its stuff.
Best regards,
-- Daniel
The text was updated successfully, but these errors were encountered: