Advertisement:

Author Topic: Package Manager needs more intelligence  (Read 17902 times)

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,239
  • Gender: Male
Re: Package Manager needs more intelligence
« Reply #20 on: April 27, 2010, 02:09:35 PM »
I fully agree Norv :).


But I don't think the Devs really hang out in feature requests.

Jade... look at Norv's badge :P

Purely owned ;) But I do still agree with Jade's point at the beginning, the Package Manager is currently lacking a bit...

Offline

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 61,613
Re: Package Manager needs more intelligence
« Reply #21 on: April 27, 2010, 03:04:46 PM »
The package manager isn't lacking, it's been incomplete since... forever, if you listen to the former devs...
Damaged people are dangerous. We know we can survive.

Offline Kill Em All

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,143
  • Gender: Male
  • Something has to go wrong. Just has to.
    • KEAGaming
Re: Package Manager needs more intelligence
« Reply #22 on: April 27, 2010, 03:17:45 PM »
The package manager isn't lacking, it's been incomplete since... forever, if you listen to the former devs...
I completely agree!
My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,239
  • Gender: Male
Re: Package Manager needs more intelligence
« Reply #23 on: April 27, 2010, 04:47:15 PM »
The package manager isn't lacking, it's been incomplete since... forever, if you listen to the former devs...
I completely agree!

So do I. If it is incomplete, then it's obviously lacking things... Basic Engrish there ;)

Offline

  • SMF Friend
  • SMF Legend
  • *
  • Posts: 61,613
Re: Package Manager needs more intelligence
« Reply #24 on: April 27, 2010, 05:02:22 PM »
No, there's a difference between lacking and incomplete. Something can be finished but lacking things - e.g. SimpleDesk 1.0 final was 'finished' but lacking features that are going into 1.1.
Damaged people are dangerous. We know we can survive.

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,528
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • @aCreativeBurrow on Twitter
    • Creative Burrow
Re: Package Manager needs more intelligence
« Reply #25 on: April 28, 2010, 11:41:18 PM »
Jade... look at Norv's badge :P

He doesnt count. He owes me my project LOL.
Once proud Documentation Writer and Help Squad Leader
I'm for HIRE! | Need help? Check out my $5 Fiverr Gigs!


Need More Posts? I TRIPLED my sites activity in 10 days!! YOU CAN TOO!

Quote
[12:13am] <%Jade> link me
[12:14am] <+orstio> <a href="Jade">link</a>


Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,314
  • Blue Wolf
Re: Package Manager needs more intelligence
« Reply #26 on: November 20, 2010, 01:49:56 AM »
Coming back on this... This was not solved so far. And it still seems wrong to me, to ship two themes by default, and yet accommodate only one of them... Even if it's "the" default theme, and the other should be considered "custom"...

I'd rather see Core distributed separately as custom theme, or SMF accommodate both... To do for 2.1.
To-do lists are for deferral. The more things you write down the later they're done… until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,528
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • @aCreativeBurrow on Twitter
    • Creative Burrow
Re: Package Manager needs more intelligence
« Reply #27 on: November 20, 2010, 03:16:43 AM »
YAY!! :D
Once proud Documentation Writer and Help Squad Leader
I'm for HIRE! | Need help? Check out my $5 Fiverr Gigs!


Need More Posts? I TRIPLED my sites activity in 10 days!! YOU CAN TOO!

Quote
[12:13am] <%Jade> link me
[12:14am] <+orstio> <a href="Jade">link</a>


Offline Herman's Mixen

  • SMF Hero
  • ******
  • Posts: 7,042
  • Gender: Male
    • TheBurglar on GitHub
    • MixScene
Re: Package Manager needs more intelligence
« Reply #28 on: October 25, 2011, 04:46:48 PM »
I just want to say as for the package manager - Mods must only provided with an english string into it - if there are more languages are needed - just make addon language packs for that mod, in this case we keep mods simple as it was ment to be , and how the package manager originally was designed ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,314
  • Blue Wolf
Re: Package Manager needs more intelligence
« Reply #29 on: November 07, 2011, 07:23:01 AM »
That would be a good idea, too. Unfortunately yeah, we currently have mods bundling all languages they're translated in, and that is by design.

The Burglar,
Would you see package manager helping in some way with additional language files for a mod, or simply letting it all at the modders' choice to package up?
To-do lists are for deferral. The more things you write down the later they're done… until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline Herman's Mixen

  • SMF Hero
  • ******
  • Posts: 7,042
  • Gender: Male
    • TheBurglar on GitHub
    • MixScene
Re: Package Manager needs more intelligence
« Reply #30 on: November 07, 2011, 11:11:46 AM »
I am here to help if there are needed additional language packs, i did this a while back for some mods and had permissions of the original author to make those packs... after a while i decided to make additional packs for the dutch community that's where i am the most active here on SM.org not all dutch members seems to understand the English language very well to translate for them... so that was part of the job i did then... now i want this as a standard feature for all languages other than English so it can be a group of people who make those packs for their language/community

second that a lot of mods can be much smaller in size cause their is just a need for just one extra additional language pack as desired for the language used ;)

so standard we have a mod with just the English strings build into it, the additional packs can be provided for every language which is needed.

Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,314
  • Blue Wolf
Re: Package Manager needs more intelligence
« Reply #31 on: November 07, 2011, 11:29:57 AM »
On the current customize site, additional files/packs could be added to the downloads... although, there will always be practically a limited number of them for practical reasons I guess.

Instructions in readme file, like "take this and that file or pack, and unzip it in your languages folder" don't seem to support your wish very well, if I understand you correctly? It's very... well, "manual".

How exactly should package manager behave, though? Or the customize site.
To-do lists are for deferral. The more things you write down the later they're done… until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,515
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: Package Manager needs more intelligence
« Reply #32 on: November 07, 2011, 11:37:33 AM »
Perhaps you could add a "smart" option to the packages so that theme and language file edits can be applied independent of the main installation if someone wishes. This may require extending the XML to have a special section for those items.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline Herman's Mixen

  • SMF Hero
  • ******
  • Posts: 7,042
  • Gender: Male
    • TheBurglar on GitHub
    • MixScene
Re: Package Manager needs more intelligence
« Reply #33 on: November 07, 2011, 12:49:45 PM »
The package manger is good as it is right now, only mod authors don't need to build a bunch of language files into their mod just keep it simple one global language English.

Then languages packs can be added as add-ons i will show you how i will do it. I'll come back to you Norv..


Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

Offline Fustrate

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,474
  • Gender: Male
  • Controller of the rum budget
    • @Fustrate on Twitter
    • Fustrate
Re: Package Manager needs more intelligence
« Reply #34 on: November 10, 2011, 01:45:12 PM »
Just adding this on the pile, I'd like to move away from XML towards something more like YAML or JSON. XML is just way too verbose for most things, in my opinion... source code edits, sure, but package-info.xml is ugly as hell.

Hopefully source code edits will be greatly reduced in the future, eliminated for most things in favor of events (hooks).
« Last Edit: November 10, 2011, 01:49:48 PM by Fustrate »
Steven Hoffman
Former Team Member, 2009-2012

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,515
  • 戦場ヶ原、蕩れ!
    • motokochan on GitHub
    • @motokochan on Twitter
    • Animeneko Network
Re: Package Manager needs more intelligence
« Reply #35 on: November 10, 2011, 09:16:41 PM »
Just adding this on the pile, I'd like to move away from XML towards something more like YAML or JSON. XML is just way too verbose for most things, in my opinion... source code edits, sure, but package-info.xml is ugly as hell.

Both JSON and YAML seem bad fits IMO for replacing the package format. Properly done, XML is actually really useful. Sadly, XML is rarely done right and usually turns into garbage.

YAML seems particularly bad as it relies on indentation to express hierarchy. If used for marking code edits, it could make for some messy code. For an info file alone, it might make more sense, but I just don't see it being as friendly to those starting.

JSON just doesn't seem to make sense as a replacement for the code edit stuff.

Either way, if you keep XML for the operations stuff, why would you force a different thing for the package info files?


Hopefully source code edits will be greatly reduced in the future, eliminated for most things in favor of events (hooks).

It'll be interesting to see how well the "hooks" hold up in the future as more and more stuff uses them. I forsee a ton of hooks being added to cover every possible scenario resulting in either huge code flow tracing issues and a lot of mess when developing.
Motoko-chan
Director, Simple Machines

Just like... making of enemies / 負ける気しない やめるきない / You are cool but fool - Charisma.com 『HATE』

Note: I am not a member of the Simple Machines Forum project.


Offline Fustrate

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,474
  • Gender: Male
  • Controller of the rum budget
    • @Fustrate on Twitter
    • Fustrate
Re: Package Manager needs more intelligence
« Reply #36 on: November 10, 2011, 09:27:33 PM »
Honestly, if we did source code edits, I would prefer to do them with diffs... but that's going way too far for most SMF programmers.

I think YAML would be more friendly - it's a much more human-friendly format, the only thing you *really* need to remember is to use spaces instead of tabs, although we can easily alter a YAML parser to support tabs.
Steven Hoffman
Former Team Member, 2009-2012