Re: [E-devel] Gitlab

2018-09-07 Thread Danny Hirt

+1 for Gitlab.

I have been back and forth on this thread, and couldn't pinpoint where I 
should comment. So I comment on OP.


It felt to me that using Phabricator had become quite a burden, and 
while git-phab tries to bridge to methodologies like reviewing whole 
branches, Gitlab offers it out of the box in the form of "merge 
requests" (much like Github's "pull requests").


The above pretty much states the obvious for most of the folks involved 
in this thread, but I wanted to lay out my reason to use Gitlab.


Admittedly, I myself got a bit lost on the thread, so I couldn't really 
determine if there is an agreement that we NEED Gitlab.


So, let's have a Slowvote?

Thanks.

--
Best,
  Danny (herdsman) Hirt

On 8/10/18 9:09 PM, Mike Blumenkrantz wrote:

Hello,

For some time now, everyone in the community has been expressing
significant dissatisfaction with the current project management software,
Phabricator. A number of individuals have proposed switching to Gitlab for
various reasons.

Some will recall that recently all of the FDO infrastructure migrated from
Phabricator to Gitlab thanks in large part to an incredible, hand-crafted
migration script authored by notable open source figure Daniel Stone. While
this script was not exactly what could be used to migrate our own
infrastructure, it gave me an idea.

Thanks to a low-pay intern who just graduated and whose name I don't
recall, work began to modify the original FDO migration script and update
it to handle various features exclusive to our usage of Phabricator. Thanks
to generous hosting provided by the basement of the intern's parents, I was
able to review the work as it progressed to see if it would be worth
showing to the community.

Weeks have passed, and now, thanks to many sleepless nights and long
weekends that this devoted intern spent doing devops work, I was able to
provide justification for more robust hosting and acquire a cloud service
to host an official proof-of-concept for a Gitlab migration:

https://gitlab-prototype.s-opensource.org/

Some notes:
* This is read-only for now
* User creation is disabled, don't bother trying
* Issues with their comments have been imported
* Patch submissions have been imported (the intern screwed up some of the
early imports so there are a few patches without the diff inlined)
   - Comments on patch submissions cannot be imported because Phabricator
has no API for retrieving comments on patch review
* Wiki pages are not imported since some decision-making is required

As is easily noticeable, not all projects have been imported by my intern.
Importing the repo takes some time on its own, and then running the
migration script takes a variable amount of time on top of that depending
on the size of the project (EFL was estimated to take 10+ hours to fully
import).

Wiki pages have not been imported. On Gitlab, a wiki is project-specific
and so it is impossible to do a 1:1 copy unless we decided to stick
everything onto a specific project. We would have to decide how we want to
do this.

If we decided to switch to Gitlab, there would be a number of questions
that need to be answered:
Q: How do we migrate?
A: Gitlab cannot accurately mirror all of Phabricator, it can only do a
one-time migration of projects. This means we would at some point lock phab
and then begin migrating, likely over a weekend for the major projects with
the remainders being added later.

Q: What happens to phab?
A: We would likely want to keep phab in read-only mode for a while after
the migration since all the migrated tickets/patches will provide links to
it. We can later evaluate if we need to keep it running.

Q: Where would this be hosted?
A: The provided link here is a cloud service which will be funded for the
foreseeable future. At present I am very strongly opposed to hosting this
anywhere on the existing EFL infrastructure since it has been impossible
for anyone to get access to any part of the server or to have tasks
reliably handled in anything but a random and notification-less manner. A
community project cannot have infrastructure which is unable to be
accessed, managed, or maintained by the community which is using it.

Regards,
Mike
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Off

2018-05-30 Thread Danny Hirt

Oh!
Enjoy your time off, Cedric :)
We'll be waiting ;)

 -- Daniel (herdsman) Hirt

On 05/30/2018 06:31 AM, Cedric Bail wrote:

Hello,

It has been quite exhausting over the past months to deal with the major change 
and
discussion necessary to be done for enabling a stable interfaces for bindings. 
I will thanks
everyone that helped get things done. Still, I am clearly burnout by the effort 
put in and
need to take some time off. So for June to August, I will be on a sabbatical.

Cedric

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EINA_MALLOC conflicting with EINA_PURE

2018-05-15 Thread Danny Hirt

Looks like 'pure'.

Also the wording in the recent documentation is a bit different, if you 
find it more helpful (gcc-8.1.0):


'malloc'
 This tells the compiler that a function is 'malloc'-like, i.e.,
 that the pointer P returned by the function cannot alias any other
 pointer valid when the function returns, and moreover no pointers
 to valid objects occur in any storage addressed by P.

 Using this attribute can improve optimization.  Functions like
 'malloc' and 'calloc' have this property because they return a
 pointer to uninitialized or zeroed-out storage.  However, functions
 like 'realloc' do not have this property, as they can return a
 pointer to storage containing pointers.

'pure'
 Many functions have no effects except the return value and their
 return value depends only on the parameters and/or global
 variables.  Calls to such functions can be subject to common
 subexpression elimination and loop optimization just as an
 arithmetic operator would be.  These functions should be declared
 with the attribute 'pure'.  For example,

  int square (int) __attribute__ ((pure));

 says that the hypothetical function 'square' is safe to call fewer
 times than the program says. [...]

On 05/15/2018 10:23 AM, Marcel Hollerbach wrote:

Looking quichly at the definition of those two attributes. They conflict...

Something cannot call malloc when its pure, as the function is not the 
same when called twice with the same global and local state ...


Removing pure is enough IMO.

Greetings,
    bu5hm4n

i) malloc:
The malloc attribute is used to tell the compiler that a function may be 
treated as if any non-NULL pointer it returns cannot alias any other 
pointer valid when the function returns and that the memory has 
undefined content. This often improves optimization. Standard functions 
with this property include malloc and calloc. realloc-like functions do 
not have this property as the memory pointed to does not have undefined 
content.


ii) pure:
Many functions have no effects except to return a value, and their 
return value depends only on the parameters and global variables. 
Functions of this kind can be subject to data flow analysis and might be 
eliminated.


On 05/15/2018 08:09 AM, Daniel Zaoui wrote:

Hello guys,

After my system update (Arch), I get the following warning (a lot) 
during the compilation of EFL:


../src/lib/eina/eina_module.h:233:2: warning: ignoring attribute 
'malloc' because it conflicts with attribute 'pure' [-Wattributes]
   eina_module_symbol_path_get(const void *symbol, const char 
*sub_dir) EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2);


Someone knows how to deal with that?

Thanks
D2

-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel