These are chat archives for ligershark/side-waffle

22nd
May 2015
Kent Cooper
@kentcooper
May 22 2015 03:01
Are we still adding to the v 1.17 for the release notes?
Tyler Hughes
@tylerbhughes
May 22 2015 03:04
Yes, which reminds me I need to update it with info from the gulp item template
Lol
Kent Cooper
@kentcooper
May 22 2015 03:04
Shame on you for missing that! :smile:
Tyler Hughes
@tylerbhughes
May 22 2015 03:05
Haha I know right
How does this sound?
Added Item Template - Added basic and expanded Gulp configuration files
Kent Cooper
@kentcooper
May 22 2015 03:12
Sounds good to me
Tyler Hughes
@tylerbhughes
May 22 2015 03:12
oh and nice comment lol
Kent Cooper
@kentcooper
May 22 2015 03:12
thanks hopefully he still respond to my messages after that.
Is it me or has the build gotten a lot faster recently?
Tyler Hughes
@tylerbhughes
May 22 2015 03:14
how so?..testing your PR now..would you mind testing the build I made containing the fix for the Durandal451 project while you wait?
Kent Cooper
@kentcooper
May 22 2015 03:14
sure
and after my first few PR's the build took at least 20 minutes but now it completes in about 2 minutes
Tyler Hughes
@tylerbhughes
May 22 2015 03:15
cool there's a link to it in #256
yeah I've been noticing that too.. I think Sayed made some changes to the Appveyor configuration
Tyler Hughes
@tylerbhughes
May 22 2015 03:21
so if the file is named filter1.js the f unctin will be called filter1Filter?
Kent Cooper
@kentcooper
May 22 2015 03:22
the function will yeah but the filter would be named filter1
Tyler Hughes
@tylerbhughes
May 22 2015 03:23
ok..just wondering it just looked odd having something named like that
Kent Cooper
@kentcooper
May 22 2015 03:23
and your durndal template created the project and ran without any problems.
Tyler Hughes
@tylerbhughes
May 22 2015 03:23
sweet thank you sir
Kent Cooper
@kentcooper
May 22 2015 03:23
most of the time the filter wouldn't be called filter1. It be called something like formatDate or propercase
and no problem
Tyler Hughes
@tylerbhughes
May 22 2015 03:24
ah ok now that makes more sense lol..i just wasn't sure what to call it since afterall I don't use Angular
PR looks good..merging now
Kent Cooper
@kentcooper
May 22 2015 03:25
cool thanks!
Tyler Hughes
@tylerbhughes
May 22 2015 03:26
and on the subject of things going faster I feel like SideWaffle has been picking up pace on item and project templates lately
Kent Cooper
@kentcooper
May 22 2015 03:27
definitely seems that way
Tyler Hughes
@tylerbhughes
May 22 2015 03:33
after the Durandal451 template and your AngularJS project template are added I think we'll have all the template requests completed
wait nope there's one for the xunit project template that @sayedihashimi is working on
Kent Cooper
@kentcooper
May 22 2015 03:41
checking out your PR now and yeah looks like he has a test project for it already.
Tyler Hughes
@tylerbhughes
May 22 2015 03:42
Cool
Kent Cooper
@kentcooper
May 22 2015 03:47
When I ran it through the debugger I got an error about not being able to copy IconOriginal.png I'm going to try to just build and install the template and see if that works.
Tyler Hughes
@tylerbhughes
May 22 2015 03:47
Odd. Alright.
Kent Cooper
@kentcooper
May 22 2015 03:52
nope same error
swerror.PNG
swerror2.PNG
Tyler Hughes
@tylerbhughes
May 22 2015 03:55
ok i see the problem
apparently when I checked in the files I somehow missed the iconOriginal.png file
Kent Cooper
@kentcooper
May 22 2015 03:57
cool well if you go ahead and check it in to that branch I'll give it another shot
Tyler Hughes
@tylerbhughes
May 22 2015 03:58
done
Kent Cooper
@kentcooper
May 22 2015 04:04
works like a charm. merging now.
Tyler Hughes
@tylerbhughes
May 22 2015 04:04
Awesome thanks man!
BTW if you'll update your Angular project I'll test it out for ya
Kent Cooper
@kentcooper
May 22 2015 04:12
Thanks. I'm actually working on making that a little more refined. I don't think it added a lot of value the way it was.
Tyler Hughes
@tylerbhughes
May 22 2015 04:14
Cool, just let me know if there's anything I can so to help
do*
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 04:18
The build is faster now cuz I'm paying for AppVeyor. Before we were on the free version.
Kent Cooper
@kentcooper
May 22 2015 04:19
Thanks. I was hoping to have more time to work on it this week but things are still a little crazy for me. Might be able to get some more time with it this weekend though.
Ahhh well that definitely makes sense than. You need some contributions?
Tyler Hughes
@tylerbhughes
May 22 2015 04:21
Contributions?
Kent Cooper
@kentcooper
May 22 2015 04:21
Money
Tyler Hughes
@tylerbhughes
May 22 2015 04:21
Ah got ya lol
I'm a bit slow sometimes lol
Kent Cooper
@kentcooper
May 22 2015 04:23
Well I can't really blame you. Contributions in the context of a OSS project could definitely mean something other than money.
Tyler Hughes
@tylerbhughes
May 22 2015 04:24
True
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 04:45
Nah I'm good don't worry, your help is more than enough for me.
Tyler Hughes
@tylerbhughes
May 22 2015 04:46
Hey Sayed I'm gonna try and work on that Wizard this weekend. Does it matter what kinda project I create?
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:11
You can add it to the existing project
Tyler Hughes
@tylerbhughes
May 22 2015 05:14
Alright.
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:21
@RandomlyKnighted for the auto update feature i think the only missing part is the wiki, then we can start sharing the bits and getting feedback
Tyler Hughes
@tylerbhughes
May 22 2015 05:23
Yeah I was thinking about that this afternoon. I'm just not sure how to start it
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:24
getting started is often the hardest part
when i start on something i write down the goals, and what i want the reader to get out of it
also have a full end-to-end is greate
great
for this i think we want to show from start to finish how someone can create a template pack using SW + a git repo
w/o going into to much details about the process of creating templates, but it should have 1 full example
also it's good to write it such that it keeps building on top of what was covered previously
as opposed to distinct topics
Tyler Hughes
@tylerbhughes
May 22 2015 05:29
So how to add a source and then create a new template from that source?
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:30
yeah but start from scratch, install sidewaffle
then walk someone through all the steps to create a new repo w/ templates. dont get into any github/git specifics though. just say create a new repo in github and add the following folder structure
you can use https://github.com/sayedihashimi/contoso-templatepack/tree/autoupdate as a sample or take whatever you want from there
Tyler Hughes
@tylerbhughes
May 22 2015 05:42
Alright cool
You may get an email tomorrow or Sat with a draft of the article
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:43
sure sounds good
Kent Cooper
@kentcooper
May 22 2015 05:51
So once this is all up and running are we going to have to recreate the existing templates?
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:52
not in the short term. for the first release its about people creating their own templates and sharing via SideWaffle
once we know the feature is solid we can start by adding new content in github only and then if that goes well, then we can consider moving everything
then we can update the build process to produce two different .vsix files. one with only dynamic templates and one with all templates embedded
after a few months we may have some good repos created by other people for custom template packs
Kent Cooper
@kentcooper
May 22 2015 05:56
Okay I was getting a little nervous for a minutes. Picturing late nites porting templates.
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:57
lol
moving templates from static to dynamic is pretty easily, but i'm not sure if its the right model right away
in enterprises they may not have access or have other restrictions so its risky to move all at once
Kent Cooper
@kentcooper
May 22 2015 05:58
It didn't look like it would be that hard when I was helping you guys test it, but that would still be ALOT of templates to port and test again.
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 05:59
yep thats always a pain
be back in a few
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 07:04
ok i updated all existing templates to have a TemplateID element ligershark/side-waffle@6fec370
I added a ps script https://github.com/ligershark/side-waffle/blob/master/add-templateid.ps1 that we can run to update as needed
Kent Cooper
@kentcooper
May 22 2015 12:38
wow that was a lot of updates
Tyler Hughes
@tylerbhughes
May 22 2015 14:58
Yeah it was
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 15:49
yep
Tyler Hughes
@tylerbhughes
May 22 2015 16:32
@sayedihashimi remind me again what's the difference between the master and autoupdate branch of the Contoso Template Pack
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 16:33
Master produces a vsix with templates, autoupdate is for using with dynamic templates
folder structure is different
Tyler Hughes
@tylerbhughes
May 22 2015 16:45
what do I need to say about the folder structure? just item templates go in a folder called item-templates and vice versa for project templates or do I need to include more?
Sayed Ibrahim Hashimi
@sayedihashimi
May 22 2015 18:25
Thats good
Those folders need to be in the root dir
Tyler Hughes
@tylerbhughes
May 22 2015 19:03
alright thanks