Publish Times
15 posts
• Page 1 of 2 • 1, 2
Publish Times
How can I publish a small number of files? I work on some very large websites and having to publish the entire project every time I make a single line change is VERY frustrating!
Marc
Marc
- MarcF
- Posts: 3
- Joined: April 14th, 2014, 8:08 am
Re: Publish Times
Hi,
Publish is publishing all files just on first run, then it's only publishing changed files or missing files on the remote system. You can make publish faster by checking "Skip missing files check".
You can see how many files got actually published on the end of publish in Output pane.
Publish is publishing all files just on first run, then it's only publishing changed files or missing files on the remote system. You can make publish faster by checking "Skip missing files check".
You can see how many files got actually published on the end of publish in Output pane.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publish Times
There is workaround for publishing problem.
If your destination server is Linux/Unix based you can
change permission to the folder you do not want to publish.
For example:
chown apache dir1
chmod 744 dir1
Then only apache http can access files under dir1 directory. For this to work you need to login (ftp) with different then apache account.
If your destination server is Linux/Unix based you can
change permission to the folder you do not want to publish.
For example:
chown apache dir1
chmod 744 dir1
Then only apache http can access files under dir1 directory. For this to work you need to login (ftp) with different then apache account.
- nbogol
- Posts: 3
- Joined: May 7th, 2014, 1:12 pm
Re: Publish Times
When I first installed the product as a trail when I hit the "play" button it would just publish the changed files.
something like:
>Publish succeeded. (copied 2 files)
Now every time it says
>Publish succeeded. (copied 121 files)
So it is no longer aware of the changes. So it ALWAYS publishes every file. Which is a shame when you're on a 0.5 MBit line. I read somewhere that you are working on this issue. Any updates?
something like:
>Publish succeeded. (copied 2 files)
Now every time it says
>Publish succeeded. (copied 121 files)
So it is no longer aware of the changes. So it ALWAYS publishes every file. Which is a shame when you're on a 0.5 MBit line. I read somewhere that you are working on this issue. Any updates?
- EraYaN
- Posts: 9
- Joined: June 5th, 2014, 11:06 am
Re: Publish Times
Hi,
Thanks for giving us know. When you check the publish profile is there Delete all existing files?
It certainly should not copy all files. What version do you use? so I can check what might have changed.
Thanks,
Thanks for giving us know. When you check the publish profile is there Delete all existing files?
It certainly should not copy all files. What version do you use? so I can check what might have changed.
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publish Times
I use version: 1.13.5279.2013
It's a publish using FTP (passive, explicit TLS or SSL). FTP account root is the site root so "Site path" is "/". Only skip missing files check is checked. On my main PC it is now fixed (by installing the 1.13) so I did that here too, but to no avail. Behaviour has not changed. (I was using the 1.12.XXXX version that was on the website as "stable" a week ago.)
Is there some cache where the plugin keeps track of changes?
These are my other extensions:
http://erayan.com/jing/2014-06-08_1521.png
And below the fold "Workflow manager activities". VS version is ultimate.
Also Visual Micro addin in installed.
It's a publish using FTP (passive, explicit TLS or SSL). FTP account root is the site root so "Site path" is "/". Only skip missing files check is checked. On my main PC it is now fixed (by installing the 1.13) so I did that here too, but to no avail. Behaviour has not changed. (I was using the 1.12.XXXX version that was on the website as "stable" a week ago.)
Is there some cache where the plugin keeps track of changes?
These are my other extensions:
http://erayan.com/jing/2014-06-08_1521.png
And below the fold "Workflow manager activities". VS version is ultimate.
Also Visual Micro addin in installed.
- EraYaN
- Posts: 9
- Joined: June 5th, 2014, 11:06 am
Re: Publish Times
That is quite strange. This issue shouldn't have anything to do with other extensions.
PHP Tools keep track of publish times in Properties\PublishProfiles\PROFILE_NAME.phppub.user
So it has to think that publish date differs from the last change date of the file.
Could you please check what's inside this file? That might help determine why it thinks it should publish it.
Thanks!
PHP Tools keep track of publish times in Properties\PublishProfiles\PROFILE_NAME.phppub.user
So it has to think that publish date differs from the last change date of the file.
Could you please check what's inside this file? That might help determine why it thinks it should publish it.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publish Times
The file is filled with entries like this:
<File Include="bp-content/images/icons/stop.png">
<publishTime>10/21/2013 13:10:55</publishTime>
</File>
I guess this time is UTC/GMT.
The file in question shows: (Both GMT+2, daylight savings time in the Netherlands)
Created: maandag 21 oktober 2013, 18:41:54
Modified: maandag 21 oktober 2013, 15:10:55
<File Include="bp-content/images/icons/stop.png">
<publishTime>10/21/2013 13:10:55</publishTime>
</File>
I guess this time is UTC/GMT.
The file in question shows: (Both GMT+2, daylight savings time in the Netherlands)
Created: maandag 21 oktober 2013, 18:41:54
Modified: maandag 21 oktober 2013, 15:10:55
- EraYaN
- Posts: 9
- Joined: June 5th, 2014, 11:06 am
Re: Publish Times
Hi,
The modified time then match the time in publish profile. So file shouldn't need to published. I've modified current development version of php tools to give us more information about what's happening during publish. I'll send you the link through email so if you want you can try it out.
Thanks!
The modified time then match the time in publish profile. So file shouldn't need to published. I've modified current development version of php tools to give us more information about what's happening during publish. I'll send you the link through email so if you want you can try it out.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publish Times
I tried the release (with the x) and now it works properly.
All files "IsWithinOneSecond : true => no need to publish"
I will test it again on my parents' slow connection (where the problem occurred the last time), this Friday or Saturday.
All files "IsWithinOneSecond : true => no need to publish"
I will test it again on my parents' slow connection (where the problem occurred the last time), this Friday or Saturday.
- EraYaN
- Posts: 9
- Joined: June 5th, 2014, 11:06 am
15 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 10 guests