if you just move files from one repo to another you loose all history
Method__
not just a good idea for contributors, but looking back at why a change was made is important
blaflamme
exactly
Method__
a year or so ago my workplace moved from svn to git and we said we wouldnt do it if we couldnt keep the history
was intense lol
goodwill
that one is easy
Method__
is it? I wasnt involved in the migration
goodwill
yeah, there plenty of tools for that
tiwula has quit
moo-_-
good evening pyramid
zepolen has quit
Charlie_X has quit
otter768 joined the channel
Tobarja joined the channel
Loetkolben joined the channel
disko joined the channel
stevepie_
blaflamme I read the docs on git-subtree, but do not understand how to do what you want. I don't want the entire pyramid_tutorials project as a subtree of pyramid_cookbook, just the single-file-tasks directory.
…and its contents
blaflamme
you can extract files or directories
you can split the target directory to a separate branch
like git subtree split --prefix=<target-directory> -b <my-splitted-branch>
you'll have to play a bit to find the right workflow
stevepie_
easier to just copy files
blaflamme
yes but you loose all history and in one commit you own all the work o_O
stevepie_
it remains in pyramid_tutorials
blaflamme
until we get rid of or anything else
the history should follow the work
Rizy has quit
Method__
^
stevepie_
i have zero confidence that i will figure this out correctly
blaflamme
or I'll do pyramidwow and copy the source of the actual pyramid repo, I'll do 1 commit of the current repo state and publish it as the new repo =)
stevepie_
and then i'll probably make a bigger mess of things
blaflamme
I think you'll havr to play a bit with two test repos and find the right workflow... then you'll b ok to work on the real one
goodwill
stevepie_: I built your branch ... it has hello world in it
stevepie_: so I am not sure what you mean
stevepie_
goodwill it's gotta be there somewhere
goodwill
stevepie_: I am confused ... it has the current hello world in it
imma jump in and say, Im glad you guys are killing off that 'hello world' thing.
stevepie_
yes
that's my hack at visual design
goodwill
so how does config.add_view demostrate predicate?
stevepie_
i'm sure there is someone around here who can take that effort and make it work visually ;)
goodwill
I mean I know there is a predicate in there
stevepie_ whistles nonchalantly
but if a person never seen pyramid ... they would not know what
goodwill is super confused
blaflamme
stevepie_ I'll work on that, once you guys has a something concrete
goodwill
Method__: what's wrong with the hello world
stevepie_: or are those just examples and not the real text?
Method__
goodwill: I saw it after working with pyramid a while and thought to myself, "either im doing it all wrong, or whoever builds from this is going to get annoyed with pyramid really quickly"
blaflamme
@view_config should be used, we should show simple and concise first
Method__
especially those new to python
stevepie_
blaflamme what would you call that? Decorators?
…as its text heading. i can grab some explanatory text
blaflamme
stevepie_ goodwill Method__ and on the other hand a lot of people are not aware of providing simple example like the hello world snippets when they're trying or sharing stuff/ideas and they provide scaffold based examples o_O
stevepie_ yes it's function decorator in this case
Method__
blaflamme: I agree. but I think as a primary example of what pyramid is great for, showing the normal use case first is important, and then showing the "hey you can use this as a microframework too if you wanted" after the fact
the fact that pycharm does all the boilerplate stuff for pyramid when you start a new project, with the three scaffolds make it easier for those that use pycharm. mentioning that on a front page might be helpful too but Im spitballing.
blaflamme
Method__ but someone who never saw pyramid before and looking quickly at the page, what you show him? He wants to know if the style fits his need/mindset
stevepie_
blaflamme but decorators are a Python thing, not just a Pyramid thing. is there some kind of difference between Python and Pyramid in this regard?
blaflamme
Method__ I never use the scaffolds because I don't work that way, why would I promote them
Method__
I agree, its hard to figure out what to show people without making too many assumptions
blaflamme
stevepie_ right, so a better way to show people it's python and not an obscure thing only pyramid do
stevepie_
ok. and you've just written the text for the code example ;)
hehe
blaflamme
that's why we do brainstorm
goodwill
we can change the hello world to a scaffold one
blaflamme
all points are valid against their own goals
goodwill
but then people will complain about which scaffold
blaflamme
I won't use a scaffold
Method__
what about guiding them through an example?
goodwill
I was thinking maybe a tabbed inteface at the top with words like
Mini-App
RDBS App
Method__
like, "select the scaffold (if any) you want" and it explains what each does