Modul letöltése a drupal.org-ról gittel, és git submodule-ként kezelése

  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Leírás

Néhány napja harcolok csak a gittel, egy a tuti: igencsak kezdem megkedvelni. Mivel még drupalosok körében is elég képlékeny a workflow, amivel teljes drupal projecteket lehet kezelni, így én is több forrás alapján, nagyjából így csinálom:

A drupal a main repository. Nincsenek külön branchek modul, meg smink, inicializálás után egy szem devel ág, és abba megy a fejlesztés fő vonala. Ha egy részfeladat szépen leírható, (pl user_interface, ahol a wysiwyg-t, filtereket alakítom), akkor lesz egy külön branch neki. Ha az megvan, szépen visszamergelem a devel ágba, és haladok tovább. Ha van már mit mutatni, akkor a devel ág merge a masterbe, és megy ki valami public oldalra, ahol nézegethetik.

Nade pont most vagyok olyan munkában, ahol igencsak bántani kell a modulokat, patchek, próbálkozások etc.
A modulokat alapból letöltöm drush-sal, hozzáadom, majd commitolom az adott ágba.
Egészen addig, amíg a modulba bele nem kell nyúlni. Na ekkor jön képbe a git submodule rendszere.

Ilyenkor törlöm a modult, és submoduleként kezelem tovább. Na ez elég pepecselős mutatvány, sok gépeléssel, úgyhogy ennek kiváltására megalkottam subát! Ő egy git alias, amit a .gitconfig nevű fileba kell elhelyezni imígyen:

[geshifilter-code] [alias] suba = !sh -c 'echo -n \"Biztosan törölhető a $2 könyvtár? (i/n) \" && read answer && [ $answer = \"i\" ] || exit && echo \"\n $2 könyvtár törlése \n \" && rm -rf --preserve-root $2 && echo \"\nIndex törlése\n\" && git commit $2 -m \"Autocommit from suba: remove $2 dir from index\" && echo \"\nSubmodule hozzáadása\n\" && git submodule add -b $1 git://git.drupal.org/project/$0 $2 && echo \"\nSubmodule inicializálása\" && git submodule init && echo \"\nSubmodule commit\n\" && git add .gitmodules && git commit $2 .gitmodules -m \"Autocommit from suba: Add $0 drupal project as submodule tracking remote branch: $1.\"' [/geshifilter-code]

Használata a következő: git suba devel 6.x-2.x sites/all/modules/devel

Az első paraméter a modul neve, a második a drupal branch. Ez elvileg lehet tag is, vagyis ha 6.x.2.3-at írunk be, akkor akár a releaset is leszedhetjük vele, viszont releasebe meg nem turkálunk, úgyhogy jöjjön csak a branch egészében. A 3. paraméter meg a hely, ahová a modulunkat szeretnénk pakolni.
Ezt a drupal főkönyvtárában kell indítani, vagyis a repo főkönyvtárába, mert csak ott lehet submodulet hozzáadni. A 3. paraméterben ne legyen a végén / jel, mert attól az uccsó commit meghal.

Először szépen rákérdez, hogy tuti jót akarunk-e törölni. Ezután törli a könyvtárat, majd commitolja, enélkül ugyanis a git submodule add összeakad, hiszen a git indexében már szerepel a könyvtár. Ezután leszedi a drupal.org-ról a modult, beállítja a local branchet arra, amit a második paraméterként megadtunk, majd elcommitolja. A git add .gitmodules elvileg csak az első alkalommal kell, amikor submodule-t adunk hozzá, de ahogy észrevettem enni nem kér, szóval nincs gond, ha benne marad.

Na, és miután az első ilyen próbálkozásomról kiderült, hogy görcs nélkül tudtam volna törölni vele bármit kérdés nélkül, valamint mindössze 4 napja használom a gitet, léccci kapjátok le a fejemet, ha valami ordenáré hülyeséget írnék!

Hozzászólások

We stumbled over here by a

We stumbled over here by a different web page and thought I might as well check things out.
I like what I see so i am just following you. Look forward
to looking at your web page again.

Also visit my website - tn board of pharmacy

Outstanding story there. What

Outstanding story there. What happened after? Good luck!

Visit my website - cvs pharmacy application

Hello Dear, are you in fact

Hello Dear, are you in fact visiting this site
daily, if so afterward you will absolutely get
nice knowledge.

my web page target pharmacy rewards

I was recommended this web

I was recommended this web site by my cousin. I'm not sure whether
this post is written by him as nobody else know such detailed about my difficulty.
You're incredible! Thanks!

Take a look at my blog: what is prednisolone used for

Heya are using Wordpress for

Heya are using Wordpress for your site platform? I'm new to the blog world but
I'm trying to get started and set up my own. Do you require any
coding expertise to make your own blog? Any help would be
really appreciated!

Also visit my webpage: canadian pharmacy

It is perfect time to make

It is perfect time to make some plans for the future and it's time to be
happy. I've read this post and if I could I wish to suggest you some interesting things or suggestions.
Perhaps you can write next articles referring to this article.

I wish to read more things about it!

Feel free to visit my web-site; canadian pharmacy

I wanted to thank you for

I wanted to thank you for this very good read!! I absolutely enjoyed every little bit of it.
I have got you bookmarked to look at new things you post…

You actually make it seem

You actually make it seem really easy with
your presentation however I to find this topic to be really something
which I believe I might never understand. It kind of feels
too complex and extremely wide for me. I'm having a look forward to your subsequent
publish, I'll try to get the cling of it!

Also visit my site; cialis for daily use

Pretty nice post. I simply

Pretty nice post. I simply stumbled upon your blog and wished to mention that I have
truly loved browsing your blog posts. In any
case I'll be subscribing to your rss feed and I am hoping you write again soon!

my website; canadian online drug stores

Highly energetic article, I

Highly energetic article, I enjoyed that bit.
Will there be a part 2?

Here is my web page :: canadian pharmacies shipping to usa

Thanks for the marvelous

Thanks for the marvelous posting! I genuinely enjoyed reading
it, you may be a great author.I will be sure to bookmark your blog and may come back later
on. I want to encourage you to continue your great
writing, have a nice day!

Stop by my blog post; canadian pharmacies shipping to usa

For most recent information

For most recent information you have to pay a quick visit web
and on the web I found this web page as a
finest web site for most up-to-date updates.

Here is my web blog; cialis online canada

I know this if off topic but

I know this if off topic but I'm looking into starting my
own blog and was wondering what all is needed to get set up?

I'm assuming having a blog like yours would cost a pretty penny?
I'm not very internet smart so I'm not 100% certain. Any
tips or advice would be greatly appreciated. Thank you

Here is my web-site :: canadiandrugstore

Hello mates, how is all, and

Hello mates, how is all, and what you wish for to say regarding this article,
in my view its actually awesome for me.

Here is my blog: canadian pharmacies shipping to usa

I was suggested this web site

I was suggested this web site by my cousin. I am not sure whether this post is written by him
as no one else know such detailed about my trouble. You are wonderful!
Thanks!

Feel free to surf to my weblog :: prednisone

Actually no matter if someone

Actually no matter if someone doesn't understand then its up to other
visitors that they will help, so here it takes place.

My webpage ... prednisone

Wow that was strange. I just

Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn't
appear. Grrrr... well I'm not writing all that
over again. Regardless, just wanted to say wonderful blog!

Here is my webpage prednisone

I have been exploring for a

I have been exploring for a little bit for any high quality articles or
weblog posts on this kind of space . Exploring in Yahoo I at last stumbled upon this website.

Reading this information So i am happy to convey that I've an incredibly excellent uncanny feeling I came upon just what I needed.
I most unquestionably will make certain to do not disregard this web site and provides it a look on a relentless basis.

my weblog ... prednisone

I'm amazed, I have to admit.

I'm amazed, I have to admit. Seldom do I come across a blog that's both
equally educative and interesting, and without a doubt, you've hit the nail on the head.
The problem is something that not enough folks are speaking intelligently about.

I am very happy I stumbled across this in my hunt for something regarding this.

Check out my web site: prednisone

Greate article. Keep writing

Greate article. Keep writing such kind of information on your blog.
Im really impressed by your site.
Hey there, You have done a fantastic job. I'll definitely digg it and personally recommend to my friends.
I'm confident they'll be benefited from this web site.

My weblog; prednisone

Hey there excellent blog!

Hey there excellent blog! Does running a blog such ass this require a large amount of work?

I've no understanding of programming but I had been hoping to start my ownn blog soon. Anyhow, if you have any recommendations or tips foor nnew bloig owners please share.
I understand this is off subject nevertheless I just wanted to ask.
Thank you!

My weblog ... side effects amoxicillin

I'm really loving the

I'm really loving the theme/design of your website.
Do you ever run into any internet browser compatibility issues?

A small number of my blog readers have complained
about my site not working correctly in Explorer
but looks great in Chrome. Do you have any suggestions to help fix this problem?

Also visit my blog post - canadian drugs

Every weekend i used to visit

Every weekend i used to visit this site, because i
want enjoyment, as this this website conations in fact good funny information too.

my site Canadian Pharmacy

You're so awesome! I don't

You're so awesome! I don't believe I've read through something like this
before. So wonderful to discover another person with some unique thoughts on this issue.
Really.. many thanks for starting this up. This site is
one thing that is required on the web, someone with
a bit of originality!

Here is my page; Canadian pharmacy

Appreciation to my father who

Appreciation to my father who informed me concerning this web site,
this blog is genuinely amazing.

My site :: cialis discount generic volume

Its like you read my mind!

Its like you read my mind! You appear to know so much about this,
like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a little bit, but other than that, this is fantastic blog.
An excellent read. I'll definitely be back.

Also visit my web page :: cialis tablete

Hello just wanted to give you

Hello just wanted to give you a brief heads up and let you know a
few of the images aren't loading properly.
I'm not sure why but I think its a linking issue. I've tried it in two
different browsers and both show the same results.

Feel free to visit my web site: cost cialis 5mg

Do you have a spam problem on

Do you have a spam problem on this blog; I also am a blogger, and I was wondering
your situation; many of us have developed some nice
practices and we are looking to swap techniques with others, be sure to shoot me an email
if interested.

I've been browsing online

I've been browsing online more than 2 hours today, yet I never found any interesting article
like yours. It's pretty worth enough for me. In my view,
if all web owners and bloggers made good content as you did,
the internet will be a lot more useful than ever before.

My website Dyson Vacuum

It's a pity you don't have a

It's a pity you don't have a donate button! I'd most certainly donate to this brilliant blog!
I guess for now i'll settle for bookmarking and
adding your RSS feed to my Google account. I look forward to fresh updates and will share this website with
my Facebook group. Talk soon!

I've been browsing online

I've been browsing online more than 2 hours
today, yet I never found any interesting article like yours.
It is pretty worth enough for me. In my view,
if all website owners and bloggers made good content as you
did, the web will be a lot more useful than ever before.

My webpage - dyson vacuum

Hey I know this is off topic

Hey I know this is off topic but I was wondering if you knew of
any widgets I could add to my blog that automatically tweet my newest twitter
updates. I've been looking for a plug-in like this for quite some time and
was hoping maybe you would have some experience with something like
this. Please let me know if you run into anything. I truly
enjoy reading your blog and I look forward to your new updates.

my homepage - dyson vacuum

Awesome blog! Is your theme

Awesome blog! Is your theme custom made or
did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog shine.
Please let me know where you got your design. With thanks

Right away I am going away to

Right away I am going away to do my breakfast, after having
my breakfast coming again to read further news.

Also visit my page ... james dyson

In fact when someone doesn't

In fact when someone doesn't be aware of then its up to other viewers that they will help, so here it takes
place.

My web site; impotence treatment

Heya i'm for the first time

Heya i'm for the first time here. I found this board and I find It really helpful & it helped
me out a lot. I hope to offer one thing back and help others like you helped me.

Look at my web site: cialis srbija

Everything said was very

Everything said was very logical. But, think about this, suppose you added a little content?
I mean, I don't wish to tell you how to run your
blog, however suppose you added something that makes people
desire more? I mean Szántó Gábor Drupal oldala - Modul
letöltése a drupal.org-ról gittel, és git submodule-ként
kezelése is a little boring. You could glance at Yahoo's front page
and see how they create post headlines to grab viewers to click.
You might add a video or a picture or two to
get readers interested about everything've written. Just my opinion, it might bring your posts a little livelier.

Feel free to visit my weblog: erectile dysfunction treatment

I have been exploring for a

I have been exploring for a bit for any high quality articles or blog posts on this kind of area
. Exploring in Yahoo I ultimately stumbled upon this website.

Reading this information So i'm glad to express that I have a very good uncanny feeling
I discovered exactly what I needed. I most undoubtedly will make sure to do not
overlook this site and provides it a glance on a constant basis.

Also visit my web page cialis and canada

Woah! I'm really enjoying the

Woah! I'm really enjoying the template/theme of this website.
It's simple, yet effective. A lot of times it's hard to get that "perfect balance" between user friendliness and visual appearance.
I must say you've done a awesome job with this. Additionally, the
blog loads extremely fast for me on Internet explorer.

Outstanding Blog!

Here is my page canadian pharmacy with cialis

I'm not sure exactly why but

I'm not sure exactly why but this website is loading
extremely slow for me. Is anyone else having this issue or is it a problem on my end?

I'll check back later and see if the problem still exists.

Also visit my web site ... cialis canada pharmacy

The Commonly used pharmacy is

The Commonly used pharmacy is basically very affordable regardless if you are from regardless which parts of the contemporary society.
The retail price is reasonable for everyone and anyone; you have to aspiration of purchasing it.
At one time verdict is manufactured, examine the best shop.
Immediately after purchasing the drugs, you have got absorbed it.
Just take the drugs with simply water. cialis and canada

My web page drug store

This is a great tip

This is a great tip especially to those new to the blogosphere.
Short but very accurate info… Thank you for sharing this one.
A must read post!

Also visit my blog post :: generic for cialis in canada

Hey very interesting

Hey very interesting blog!

Look at my website :: canadian pharmacy cialis

Excellent post. I was

Excellent post. I was checking constantly this blog and I'm impressed!
Extremely useful information specifically the last part :) I care for
such info a lot. I was looking for this particular information for
a very long time. Thank you and good luck.

my website buy cialis online pharmacy

It's hard to come by educated

It's hard to come by educated people in this particular topic, but you sound like you know what you're talking about!

Thanks

Also visit my page: cialis generic

It's enormous that you are

It's enormous that you are getting thoughts from this
article as well as from our argument made at this place.

Also visit my weblog - buying cialis canada

I am extremely impressed

I am extremely impressed along with your writing skills and also with the
format to your weblog. Is that this a paid theme or
did you customize it your self? Anyway keep up the nice quality writing, it's rare to look a great weblog like this one nowadays..

Here is my blog generic cialis in canada

It's a pity you don't have a

It's a pity you don't have a donate button! I'd without
a doubt donate to this excellent blog! I suppose for
now i'll settle for bookmarking and adding your RSS feed to my Google
account. I look forward to new updates and will share this blog with my
Facebook group. Talk soon!

Have a look at my page canadian pharmacy cialis

It's appropriate time to make

It's appropriate time to make a few plans for the longer term and it's time to be happy.
I've read this submit and if I may just I desire to counsel you few interesting issues
or suggestions. Perhaps you can write subsequent articles relating to this article.

I want to learn even more issues approximately it!

Stop by my blog :: tesco pharmacy cialis

Hi there everyone, it's my

Hi there everyone, it's my first pay a visit at this website, and
paragraph is really fruitful in support of me, keep
up posting such content.

Also visit my blog post: canada cialis generic

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.